2018-03-18 19:38:41 +08:00
|
|
|
Reuse a test input from dsymutil, it's perfect for what we want to exercise
|
2017-09-12 07:05:20 +08:00
|
|
|
RUN: llvm-dwarfdump -v %S/Inputs/fat-test.o --debug-info | FileCheck %s
|
2015-08-03 08:10:31 +08:00
|
|
|
|
2017-09-15 01:27:03 +08:00
|
|
|
CHECK: fat-test.o(x86_64): file format Mach-O 64-bit x86-64
|
2015-08-03 08:10:31 +08:00
|
|
|
CHECK: DW_TAG_variable
|
|
|
|
CHECK-NOT: {{NULL|DW_TAG}}
|
|
|
|
CHECK: DW_AT_name {{.*}} "x86_64_var"
|
|
|
|
|
2017-09-15 01:27:03 +08:00
|
|
|
CHECK: fat-test.o(i386): file format Mach-O 32-bit i386
|
2015-08-03 08:10:31 +08:00
|
|
|
CHECK: DW_TAG_variable
|
|
|
|
CHECK-NOT: {{NULL|DW_TAG}}
|
|
|
|
CHECK: DW_AT_name {{.*}} "i386_var"
|
|
|
|
|
2017-09-15 01:27:03 +08:00
|
|
|
CHECK: fat-test.o(x86_64h): file format Mach-O 64-bit x86-64
|
2015-08-03 08:10:31 +08:00
|
|
|
CHECK: DW_TAG_variable
|
|
|
|
CHECK-NOT: {{NULL|DW_TAG}}
|
|
|
|
CHECK: DW_AT_name {{.*}} "x86_64h_var"
|