OSDN Git Service

[DebugInfo] Dump offsets in .debug_str_offsets according to the DWARF format (7/8).
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:58 +0000 (13:35 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:58 +0000 (13:35 +0700)
commite94382ee37d9225d5e833ed35006c14deda2467b
tree372054efa8454bd34937812c63da083fea5b12e0
parent7e9a740198fb526fe292441248983c2d8bdc8e3a
[DebugInfo] Dump offsets in .debug_str_offsets according to the DWARF format (7/8).

The patch changes dumping of offsets in .debug_str_offsets 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/DWARFContext.cpp
llvm/test/DebugInfo/X86/dwarfdump-str-offsets-macho.s
llvm/test/DebugInfo/X86/dwarfdump-str-offsets-v4-dwarf64-dwo.s
llvm/test/DebugInfo/X86/dwarfdump-str-offsets-v4-dwarf64-dwp.s
llvm/test/DebugInfo/X86/dwarfdump-str-offsets.s