• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 RUN: llvm-dsymutil -y %p/dummy-debug-map.map -oso-prepend-path %p/../Inputs/scattered-reloc/ -f -o - | llvm-dwarfdump -debug-dump=info - | FileCheck %s
2 
3 // See Inputs/scattered-reloc/scattered.s to see how this test
4 // actually works.
5 int bar = 42;
6 
7 CHECK: DW_TAG_variable
8 CHECK-NOT: DW_TAG
9 CHECK: DW_AT_name{{.*}}"bar"
10 CHECK-NOT: DW_TAG
11 CHECK: DW_AT_location{{.*}}<0x05> 03 10 00 01 00
12 
13