2017-09-12 07:05:20 +08:00
|
|
|
RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-test4.elf-x86-64 | FileCheck %s
|
2014-05-20 02:45:32 +08:00
|
|
|
|
2014-10-23 12:08:34 +08:00
|
|
|
CHECK: .debug_info contents:
|
|
|
|
CHECK: DW_TAG_compile_unit
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_ranges [DW_FORM_data4] (0x00000000
|
2018-01-16 19:17:57 +08:00
|
|
|
CHECK-NEXT: [0x000000000000062c, 0x0000000000000637)
|
|
|
|
CHECK-NEXT: [0x0000000000000637, 0x000000000000063d))
|
2014-10-23 12:08:34 +08:00
|
|
|
|
|
|
|
CHECK: DW_TAG_compile_unit
|
|
|
|
CHECK-NOT: TAG
|
|
|
|
CHECK: DW_AT_ranges [DW_FORM_data4] (0x00000030
|
2018-01-16 19:17:57 +08:00
|
|
|
CHECK-NEXT: [0x0000000000000640, 0x000000000000064b)
|
|
|
|
CHECK-NEXT: [0x0000000000000637, 0x000000000000063d))
|
2014-10-23 12:08:34 +08:00
|
|
|
|
|
|
|
|
2014-05-20 02:45:32 +08:00
|
|
|
CHECK: .debug_ranges contents:
|
|
|
|
CHECK-NEXT: 00000000 000000000000062c 0000000000000637
|
|
|
|
CHECK-NEXT: 00000000 0000000000000637 000000000000063d
|
|
|
|
CHECK-NEXT: 00000000 <End of list>
|
|
|
|
CHECK-NEXT: 00000030 0000000000000640 000000000000064b
|
|
|
|
CHECK-NEXT: 00000030 0000000000000637 000000000000063d
|
|
|
|
CHECK-NEXT: 00000030 <End of list>
|
|
|
|
|