OSDN Git Service

[DebugInfo] Dump values in .debug_pubnames and .debug_pubtypes according to the DWARF...
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:48 +0000 (13:35 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:48 +0000 (13:35 +0700)
commit7e9a740198fb526fe292441248983c2d8bdc8e3a
tree4a607ff227b88ccee034b999d3d9479d074c0583
parent2094c5d29200ec67179ce232d7452e0d2c1cf24e
[DebugInfo] Dump values in .debug_pubnames and .debug_pubtypes according to the DWARF format (6/8).

The patch changes dumping of unit_length, debug_info_offset, and
debug_info_length fields in headers in .debug_pubname and
.debug_pubtypes sections so that they are printed as 16-digit hex values
if the contribution is in the DWARF64 format. Dumping of offsets in the
tables is changed in the same way.

Differential Revision: https://reviews.llvm.org/D79997
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h
llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp
llvm/test/DebugInfo/X86/dwarfdump-debug-pubnames.s