OSDN Git Service

[DebugInfo] Dump values in .debug_loclists and .debug_rnglists according to the DWARF...
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:41 +0000 (13:35 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:41 +0000 (13:35 +0700)
commit2094c5d29200ec67179ce232d7452e0d2c1cf24e
treea4fb108001906b2fed5993ca927a929512fd81ba
parentc9122b8f7002a257e160a1422e19265343ae8133
[DebugInfo] Dump values in .debug_loclists and .debug_rnglists according to the DWARF format (5/8).

The patch changes dumping of a unit_length field and offsets in headers
in .debug_loclists and .debug_rnglists sections so that they are printed
as 16-digit hex values if the contribution is in the DWARF64 format.

Differential Revision: https://reviews.llvm.org/D79997
llvm/lib/DebugInfo/DWARF/DWARFListTable.cpp
llvm/test/DebugInfo/X86/dwarfdump-debug-loclists-dwarf64.s [new file with mode: 0644]
llvm/test/DebugInfo/X86/dwarfdump-rnglists-dwarf64.s
llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_dwarf64.s