[DebugInfo] Make debug line address size mismatch non-fatal to parsing
authorJames Henderson <james.henderson@sony.com>
Mon, 13 Jan 2020 16:27:05 +0000 (16:27 +0000)
committerJames Henderson <james.henderson@sony.com>
Mon, 13 Jan 2020 16:27:05 +0000 (16:27 +0000)
commit07804f75a6cc506fada40c474f1e60840ce737d8
tree7b37506ef8fc769cfddf1e480c3ca51885edb4b9
parent81e7922e83cf9782a39f4072e20eab8ab1e99828
[DebugInfo] Make debug line address size mismatch non-fatal to parsing

Reasonable assumptions can be made when a parsed address length does not
match the expected length, so there's no need for this to be fatal.

Reviewed by: ikudrin

Differential Revision: https://reviews.llvm.org/D72154
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp