1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/unittests/DebugInfo/DWARF
James Henderson 73d127e3f5 [DebugInfo] Don't error for zero-length arange entries
Although the DWARF specification states that .debug_aranges entries
can't have length zero, these can occur in the wild. There's no
particular reason to enforce this part of the spec, since functionally
they have no impact. The patch removes the error and introduces a new
warning for premature terminator entries which does not stop parsing.

This is a relanding of cb3a598c87db, adding the missing obj2yaml part
that was needed.

Fixes https://bugs.llvm.org/show_bug.cgi?id=46805. See also
https://reviews.llvm.org/D71932 which originally introduced the error.

Reviewed by: ikudrin, dblaikie, Higuoxing

Differential Revision: https://reviews.llvm.org/D85313
2020-08-10 14:57:52 +01:00
..
CMakeLists.txt [DebugInfo] Add unit tests for DWARFListTableHeader::length(). 2020-07-14 16:35:17 +07:00
DWARFAcceleratorTableTest.cpp [Support] Make DataExtractor error messages more clear 2020-06-02 12:57:51 +02:00
DWARFDataExtractorTest.cpp [Support] Make DataExtractor error messages more clear 2020-06-02 12:57:51 +02:00
DWARFDebugArangeSetTest.cpp [DebugInfo] Don't error for zero-length arange entries 2020-08-10 14:57:52 +01:00
DWARFDebugFrameTest.cpp [DebugInfo/DWARF] - Test invalid CFI opcodes properly and refine related CFIProgram::parse code. 2020-07-08 12:10:23 +03:00
DWARFDebugInfoTest.cpp [DWARFYAML] Refactor emitDebugInfo() to make the length be inferred. 2020-07-23 23:00:19 +08:00
DWARFDebugLineTest.cpp [llvm][NFC] Add missing 'override's in unittests/ 2020-07-17 17:35:59 -07:00
DWARFDieTest.cpp [DWARFYAML] Fix unintialized value Is64BitAddrSize. NFC. 2020-08-05 00:28:17 +08:00
DWARFExpressionCompactPrinterTest.cpp [llvm-objdump] Add entry_value and stack_value opcodes 2020-07-14 10:24:59 +01:00
DWARFFormValueTest.cpp [llvm][NFC] Add missing 'override's in unittests/ 2020-07-17 17:35:59 -07:00
DwarfGenerator.cpp DwarfGenerator.cpp - fix implicit FileSystem.h dependency. NFC. 2020-06-23 13:07:18 +01:00
DwarfGenerator.h [DebugInfo] Clean up DIEUnit. NFC. 2020-08-07 15:55:44 +07:00
DWARFListTableTest.cpp [DebugInfo] Add unit tests for DWARFListTableHeader::length(). 2020-07-14 16:35:17 +07:00
DWARFLocationExpressionTest.cpp Add streaming/equality operators to DWARFAddressRange/DWARFLocationExpression 2019-11-19 10:34:30 +01:00
DwarfUtils.cpp Fix DWARF DebugInfo unit test errors when cross-compiling 2019-06-03 22:22:03 +00:00
DwarfUtils.h Fix DWARF DebugInfo unit test errors when cross-compiling 2019-06-03 22:22:03 +00:00