diff options
Diffstat (limited to 'clang/test/CodeGen/thinlto-split-dwarf.c')
-rw-r--r-- | clang/test/CodeGen/thinlto-split-dwarf.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/clang/test/CodeGen/thinlto-split-dwarf.c b/clang/test/CodeGen/thinlto-split-dwarf.c index ded58416e26..60649b0881b 100644 --- a/clang/test/CodeGen/thinlto-split-dwarf.c +++ b/clang/test/CodeGen/thinlto-split-dwarf.c @@ -10,12 +10,14 @@ // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu \ // RUN: -emit-obj -fthinlto-index=%t.o.thinlto.bc \ -// RUN: -o %t.native.o -split-dwarf-output %t.native.dwo -x ir %t.o +// RUN: -o %t.native.o -split-dwarf-file %t.file.dwo \ +// RUN: -split-dwarf-output %t.output.dwo -x ir %t.o -// RUN: llvm-readobj -S %t.native.o | FileCheck --check-prefix=O %s -// RUN: llvm-readobj -S %t.native.dwo | FileCheck --check-prefix=DWO %s +// RUN: llvm-dwarfdump %t.native.o | FileCheck --check-prefix=O %s +// RUN: llvm-dwarfdump %t.output.dwo | FileCheck --check-prefix=DWO %s -// O-NOT: .dwo -// DWO: .dwo +// O: DW_AT_GNU_dwo_name ("{{.*}}.file.dwo") +// O-NOT: DW_TAG_subprogram +// DWO: DW_TAG_subprogram int main() {} |