[DebugInfo] Handle missed DW_FORM_addrx3 and DW_FORM_strx3 cases
authorBenjamin Maxwell <benjamin.maxwell@arm.com>
Tue, 7 Feb 2023 10:36:34 +0000 (10:36 +0000)
committerBenjamin Maxwell <benjamin.maxwell@arm.com>
Fri, 10 Feb 2023 14:44:18 +0000 (14:44 +0000)
commitf1837c7074788aa9b03046cb64496f62c0c8c361
treeecee8eb6812cc214a45c1fb51ba64c2a884604e0
parent04f4c4cc59db0f4db9cddcc5846d98491d4b65f5
[DebugInfo] Handle missed DW_FORM_addrx3 and DW_FORM_strx3 cases

This fixes a few places where the addrx3 and strx3 forms were missed.
Previously this meant if one of these forms appeared somewhere various
errors could occur. This now also adds an extra test case for the addrx3
form (which previously failed).

Differential Revision: https://reviews.llvm.org/D143488
llvm/lib/BinaryFormat/Dwarf.cpp
llvm/lib/CodeGen/AsmPrinter/DIE.cpp
llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp