1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/DebugInfo/X86/dwarfdump-ranges-baseaddr-exe.s
Jonas Devlieghere 54c6b81933 [DebugInfo] Unify dumping of address ranges
Summary:
This patch unifies the printing of address ranges as [0x0, 0x1).

rdar://34822059

Reviewers: aprantl, dblaikie

Subscribers: mehdi_amini, llvm-commits

Differential Revision: https://reviews.llvm.org/D42056

llvm-svn: 322543
2018-01-16 11:17:57 +00:00

14 lines
601 B
ArmAsm

# RUN: llvm-dwarfdump -v %S/../Inputs/dwarfdump-ranges-baseaddr-exe.elf-x86-64 \
# RUN: | FileCheck %s
## Executable binary for test produced from object built in
## dwarfdump-ranges-baseaddr.s testcase.
# CHECK: .debug_info contents:
# CHECK: 0x0000000b: DW_TAG_compile_unit [1]
# CHECK: DW_AT_low_pc [DW_FORM_addr] (0x0000000000400078)
# CHECK-NEXT: DW_AT_ranges [DW_FORM_sec_offset] (0x00000000
# CHECK-NEXT: [0x0000000000400078, 0x0000000000400079)
# CHECK-NEXT: [0x000000000040007b, 0x000000000040007e)
# CHECK-NEXT: [0x000000000040007f, 0x0000000000400080))