| 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) |