brintos

brintos / llvm-project-archived public Read only

0
0
Text · 598 B · faf5839 Raw
18 lines · c
1RUN: dsymutil -y %p/dummy-debug-map.map -oso-prepend-path \2RUN:  %p/../Inputs/scattered-reloc/ -f -o - | \3RUN:  llvm-dwarfdump -debug-info - | FileCheck %s4 5RUN: dsymutil --linker parallel -y %p/dummy-debug-map.map \6RUN:  -oso-prepend-path %p/../Inputs/scattered-reloc/ -f -o - \7RUN:  | llvm-dwarfdump -debug-info - | FileCheck %s8 9// See Inputs/scattered-reloc/scattered.s to see how this test10// actually works.11int bar = 42;12 13CHECK: DW_TAG_variable14CHECK-NOT: DW_TAG15CHECK: DW_AT_name{{.*}}16"bar" CHECK - NOT : DW_TAG17                        CHECK : DW_AT_location{{.*}}(DW_OP_addr 0x10010)18