llvm-project/llvm/unittests/DebugInfo/DWARF
Rafael Auler d8bbfe8a48 [DWARF] Expose raw bytes in DWARFExpression
This information is necessary for clients of DebugInfo that
do not want to process a DWARF expression, but just treat it as a blob
of data. In BOLT, for example, we need to read these expressions in
CFIs and write them back to the binary, unchanged, so having access to
the original expression encoding is a shortcut to avoid the need to
re-encode the entire expression when re-writing exception handling
info (CFIs).

This patch is an alternative to https://reviews.llvm.org/D98301, in
which we implement the support to re-encode these expressions. But
since we don't really need to change anything in these expressions,
we can just copy their bytes.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D107515
2021-08-18 14:41:20 -07:00
..
CMakeLists.txt [DWARF] Expose raw bytes in DWARFExpression 2021-08-18 14:41:20 -07:00
DWARFAcceleratorTableTest.cpp
DWARFDataExtractorTest.cpp
DWARFDebugArangeSetTest.cpp [test][NFC] Do ptrdiff_t comparison with signed instead of unsigned constants 2020-10-18 12:38:41 -04:00
DWARFDebugFrameTest.cpp Implement DW_CFA_LLVM_* for Heterogeneous Debugging 2021-06-14 08:51:50 +05:30
DWARFDebugInfoTest.cpp Migrate DWARFVerifier tests to lit-based yaml instead of gtest with embedded yaml 2021-08-13 19:09:41 -07:00
DWARFDebugLineTest.cpp Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
DWARFDieManualExtractTest.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DWARFDieTest.cpp [Test] Simplify DWARF test cases. NFC. 2020-08-31 14:03:48 +08:00
DWARFExpressionCompactPrinterTest.cpp [llvm-objdump] Add entry_value and stack_value opcodes 2020-07-14 10:24:59 +01:00
DWARFExpressionCopyBytesTest.cpp [DWARF] Expose raw bytes in DWARFExpression 2021-08-18 14:41:20 -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 [MC] Refactor MCObjectFileInfo initialization and allow targets to create MCObjectFileInfo 2021-05-23 14:15:23 -07:00
DwarfGenerator.h [DebugInfo] Clean up DIEUnit. NFC. 2020-08-07 15:55:44 +07:00
DwarfUtils.cpp [Test][DebugInfo] Check for backend object emission support. 2021-03-18 09:51:00 +00:00
DwarfUtils.h [Test][DebugInfo] Check for backend object emission support. 2021-03-18 09:51:00 +00:00