llvm-project/llvm/unittests/DebugInfo/DWARF
Jack Anderson d7733f8422 [DebugInfo] Expand ability to load 2-byte addresses in dwarf sections
Some dwarf loaders in LLVM are hard-coded to only accept 4-byte and 8-byte address sizes. This patch generalizes acceptance into `DWARFContext::isAddressSizeSupported` and provides a common way to generate rejection errors.

The MSP430 target has been given new tests to cover dwarf loading cases that previously failed due to 2-byte addresses.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D111953
2021-10-21 17:31:00 -07:00
..
CMakeLists.txt [DWARF] Expose raw bytes in DWARFExpression 2021-08-18 14:41:20 -07:00
DWARFAcceleratorTableTest.cpp
DWARFDataExtractorTest.cpp
DWARFDebugArangeSetTest.cpp [DebugInfo] Expand ability to load 2-byte addresses in dwarf sections 2021-10-21 17:31:00 -07:00
DWARFDebugFrameTest.cpp Implement DW_CFA_LLVM_* for Heterogeneous Debugging 2021-06-14 08:51:50 +05:30
DWARFDebugInfoTest.cpp [AIX] Disable tests failing due to lack of 64-bit XCOFF object file support 2021-10-18 13:08:22 -04:00
DWARFDebugLineTest.cpp [AIX] Disable tests failing due to lack of 64-bit XCOFF object file support 2021-10-18 13:08:22 -04:00
DWARFDieManualExtractTest.cpp [DWARF][NFC] add ParentIdx and SiblingIdx to DWARFDebugInfoEntry for faster navigation. 2021-10-02 08:11:06 +03:00
DWARFDieTest.cpp Fix DWARFDie::getDeclFile(...) to work with DW_AT_specification. 2021-08-23 15:43:18 -07:00
DWARFExpressionCompactPrinterTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
DWARFExpressionCopyBytesTest.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
DWARFFormValueTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
DWARFListTableTest.cpp [llvm] [dwarf] Fix DWARFListTableHeader::getOffsetEntry off-by-one 2021-03-14 21:42:44 +01:00
DWARFLocationExpressionTest.cpp
DwarfGenerator.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
DwarfGenerator.h [DebugInfo] Clean up DIEUnit. NFC. 2020-08-07 15:55:44 +07:00
DwarfUtils.cpp Move TargetRegistry.(h|cpp) from Support to MC 2021-10-08 14:51:48 -07:00
DwarfUtils.h [Test][DebugInfo] Check for backend object emission support. 2021-03-18 09:51:00 +00:00