Home | History | Annotate | Download | only in DebugInfo
      1 RUN: llvm-dwarfdump %p/Inputs/dwarfdump-test-loc-list-32bit.elf.o | FileCheck %s
      2 Note: the input file was generated from Inputs/dwarfdump-test-loc-list-32bit.elf.cpp
      3 
      4 CHECK: .debug_info
      5 CHECK: DW_AT_name{{.*}}"f"
      6 CHECK: DW_AT_location{{.*}}([[F_LOC:0x[0-9a-f]*]])
      7 CHECK: DW_AT_name{{.*}}"g"
      8 CHECK: DW_AT_location{{.*}}([[G_LOC:0x[0-9a-f]*]])
      9 CHECK: .debug_loc contents:
     10 CHECK-NEXT: [[F_LOC]]: Beginning address offset: 0x0000000000000000
     11 CHECK-NEXT:               Ending address offset: 0x0000000000000023
     12 this is actually the wrong location due to PR14763, but that doesn't matter for
     13 the purposes of testing dwarfdump
     14 CHECK-NEXT:                Location description: 51
     15 CHECK-NEXT: {{^$}}
     16 CHECK-NEXT:            Beginning address offset: 0x0000000000000023
     17 CHECK-NEXT:               Ending address offset: 0x000000000000005d
     18 CHECK-NEXT:                Location description: 75 70
     19 CHECK-NEXT: {{^$}}
     20 CHECK-NEXT: [[G_LOC]]: Beginning address offset: 0x0000000000000000
     21 CHECK-NEXT:               Ending address offset: 0x0000000000000020
     22 CHECK-NEXT:               Location description: 50
     23 CHECK-NEXT: {{^$}}
     24 CHECK-NEXT:            Beginning address offset: 0x0000000000000020
     25 CHECK-NEXT:               Ending address offset: 0x000000000000005d
     26 CHECK-NEXT:                Location description: 75 74
     27