[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / dsymutil / ARM / scattered.c
blob75076f96cadd83a36e2fa12e594715ba895a1ab0
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
5 RUN: dsymutil --linker llvm -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
9 // See Inputs/scattered-reloc/scattered.s to see how this test
10 // actually works.
11 int bar = 42;
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)