1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/DebugInfo/dwarfdump-ranges.test
Alexander Kornienko 18af7cf9e1 Revert "[DWARF] reposting r342048, which was reverted in r342056 due to buildbot errors. Adjusted 2 test cases for ARM and darwin and fixed a bug with the original change in dsymutil."
This reverts commit r342218. Due to a number of failures under TSAN. An isolated
test case is being worked on.

llvm-svn: 342399
2018-09-17 15:40:01 +00:00

25 lines
877 B
Plaintext

RUN: llvm-dwarfdump -v %p/Inputs/dwarfdump-test4.elf-x86-64 | FileCheck %s
CHECK: .debug_info contents:
CHECK: DW_TAG_compile_unit
CHECK-NOT: TAG
CHECK: DW_AT_ranges [DW_FORM_data4] (0x00000000
CHECK-NEXT: [0x000000000000062c, 0x0000000000000637)
CHECK-NEXT: [0x0000000000000637, 0x000000000000063d))
CHECK: DW_TAG_compile_unit
CHECK-NOT: TAG
CHECK: DW_AT_ranges [DW_FORM_data4] (0x00000030
CHECK-NEXT: [0x0000000000000640, 0x000000000000064b)
CHECK-NEXT: [0x0000000000000637, 0x000000000000063d))
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>