[DebugInfo] Do not dump header field for pre-DWARFv5 address tables.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Thu, 6 Feb 2020 13:34:10 +0000 (20:34 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Wed, 12 Feb 2020 06:33:00 +0000 (13:33 +0700)
commit675c4bebaffc0c6b28ac85602b278677c07e03e5
treed81c182aec0c8237e394d2bb442c79441a2ddb91
parent5d58eb9f4f71292d9c67517d8cb0eb05e9fe82a3
[DebugInfo] Do not dump header field for pre-DWARFv5 address tables.

As there is no header in pre-DWARFv5 address tables, and we fill
the class data members with some artificial values, we should not
dump them as that might be misleading.

Differential Revision: https://reviews.llvm.org/D74195
llvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
llvm/test/DebugInfo/X86/debug_addr.ll
llvm/test/tools/llvm-dwarfdump/X86/debug_addr_dwarf4.s