[DebugInfo] Simplify DWARFDebugAddr.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Thu, 6 Feb 2020 07:14:12 +0000 (14:14 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Wed, 12 Feb 2020 06:33:00 +0000 (13:33 +0700)
commitdc1661239358efb8144a179d6706d7faec7fec2f
tree6ce65a7e9868e1930c5188cd03b0a2d7bd16815a
parentde9604232a7c9e346faadf3708b61431bb441c1b
[DebugInfo] Simplify DWARFDebugAddr.

The patch removes unnecessary members of DWARFDebugAddr and further
simplifies the implementation by separating parsing methods of tables
in the DWARFv5 and pre-standard formats.

Differential Revision: https://reviews.llvm.org/D74197
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAddr.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugAddr.cpp
llvm/test/tools/llvm-dwarfdump/X86/debug_addr_address_size_not_multiple.s
llvm/test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
llvm/test/tools/llvm-dwarfdump/X86/debug_addr_version_mismatch.s [deleted file]