OSDN Git Service

[DebugInfo] Dump fields in .debug_aranges according to the DWARF format (1/8).
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:34:54 +0000 (13:34 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:34:54 +0000 (13:34 +0700)
commit69dfa07b4cefba5d403749d04190c7c8e1823f71
tree43f64baee62d3d2828df9a91bd6c23837607c999
parent04e005009ab5f13a1159cac2f2ad46b8d111a5c8
[DebugInfo] Dump fields in .debug_aranges according to the DWARF format (1/8).

The patch changes dumping of unit_length and debug_info_offset fields in
an address range header 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/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
llvm/test/DebugInfo/X86/dwarfdump-debug-aranges.s