[DebugInfo] Fix parsing DWARF64 units in DWP.
authorIgor Kudrin <ikudrin@accesssoftek.com>
Wed, 26 Feb 2020 15:02:33 +0000 (22:02 +0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Fri, 28 Feb 2020 08:35:51 +0000 (15:35 +0700)
commit7a9d00f261a5fcc739fcde86849374c86bc9420b
tree6fc87feca6eb82f81fe2b83022fbe3aa2a1a1cf1
parent044308e9ed5cb69076eca7156a694f4d2844cf74
[DebugInfo] Fix parsing DWARF64 units in DWP.

The integrity check code allowed only DWARF32 units.

Differential Revision: https://reviews.llvm.org/D75178
llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
llvm/test/DebugInfo/X86/dwp-dwarf64.s [new file with mode: 0644]