OSDN Git Service

[DebugInfo] Dump form values according to the DWARF format (2/8).
authorIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:07 +0000 (13:35 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Tue, 19 May 2020 06:35:07 +0000 (13:35 +0700)
commitf92a55451655934a08b7020b45e7deef46808f4b
treec8473b34c3d99eb640a56f5e265e2ae6a3c711a2
parent69dfa07b4cefba5d403749d04190c7c8e1823f71
[DebugInfo] Dump form values according to the DWARF format (2/8).

The patch changes dumping of DWARF form values which sizes depend on
the DWARF format so that they are printed as 16-digit hex values for
DWARF64.

Differential Revision: https://reviews.llvm.org/D79997
llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h
llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
llvm/test/DebugInfo/X86/dwarfdump-header-64.s
llvm/test/DebugInfo/X86/dwarfdump-rnglists-dwarf64.s
llvm/test/DebugInfo/X86/dwarfdump-str-offsets-macho.s
llvm/test/DebugInfo/X86/dwarfdump-str-offsets.s
llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp