xref: /llvm-project/llvm/test/tools/dsymutil/ARM/scattered.c (revision f1fdfe6888f93b9f6dfb4689e1f3206de584ff5b)
1 RUN: dsymutil -y %p/dummy-debug-map.map -oso-prepend-path \
2 RUN:  %p/../Inputs/scattered-reloc/ -f -o - | \
3 RUN:  llvm-dwarfdump -debug-info - | FileCheck %s
4 
5 RUN: dsymutil --linker parallel -y %p/dummy-debug-map.map \
6 RUN:  -oso-prepend-path %p/../Inputs/scattered-reloc/ -f -o - \
7 RUN:  | llvm-dwarfdump -debug-info - | FileCheck %s
8 
9 // See Inputs/scattered-reloc/scattered.s to see how this test
10 // actually works.
11 int bar = 42;
12 
13 CHECK: DW_TAG_variable
14 CHECK-NOT: DW_TAG
15 CHECK: DW_AT_name{{.*}}
16 "bar" CHECK - NOT : DW_TAG
17                         CHECK : DW_AT_location{{.*}}(DW_OP_addr 0x10010)
18