Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / DebugInfo / dwarfdump-macho-universal.test
blob5bf707358c4249e3ac914e03930b90333daf66ee
1 Reuse a test input from dsymutil, it's perfect for what we want to exercise
2 RUN: llvm-dwarfdump -v %S/Inputs/fat-test.o --debug-info | FileCheck %s
4 CHECK: fat-test.o(x86_64):      file format Mach-O 64-bit x86-64
5 CHECK: DW_TAG_variable
6 CHECK-NOT: {{NULL|DW_TAG}}
7 CHECK: DW_AT_name {{.*}} "x86_64_var"
9 CHECK: fat-test.o(i386):        file format Mach-O 32-bit i386
10 CHECK: DW_TAG_variable
11 CHECK-NOT: {{NULL|DW_TAG}}
12 CHECK: DW_AT_name {{.*}} "i386_var"
14 CHECK: fat-test.o(x86_64h):     file format Mach-O 64-bit x86-64
15 CHECK: DW_TAG_variable
16 CHECK-NOT: {{NULL|DW_TAG}}
17 CHECK: DW_AT_name {{.*}} "x86_64h_var"