1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/DebugInfo/DWARF
Greg Clayton 4e442757fd Add verification for DW_AT_decl_file and DW_AT_call_file.
LTO builds have been creating invalid DWARF and one of the errors was a file index that was out of bounds. "llvm-dwarfdump --verify" will check all file indexes for line tables already, but there are no checks for the validity of file indexes in attributes.

The verification will verify if there is a DW_AT_decl_file/DW_AT_call_file that:
- there is a line table for the compile unit
- the file index is valid
- the encoding is appropriate

Tests are added that test all of the above conditions.

Differential Revision: https://reviews.llvm.org/D84817
2020-08-05 15:30:13 -07:00
..
CMakeLists.txt
DWARFAbbreviationDeclaration.cpp [Debuginfo] Remove redundand variable from getAttributeValue() 2020-04-24 16:35:31 +03:00
DWARFAcceleratorTable.cpp [DebugInfo] Report the format of .debug_names [2/10] 2020-06-02 17:55:30 +07:00
DWARFAddressRange.cpp
DWARFCompileUnit.cpp [DebugInfo] Report the format of compilation units [3/10] 2020-06-02 17:55:30 +07:00
DWARFContext.cpp [DebugInfo] Add more checks to parsing .debug_pub* sections. 2020-07-09 19:15:31 +07:00
DWARFDataExtractor.cpp [DebugInfo] Respect relocations when decoding DW_EH_PE_sdata4 & DW_EH_PE_sdata8 and support R_ARM_REL32 2020-07-18 09:00:50 -07:00
DWARFDebugAbbrev.cpp
DWARFDebugAddr.cpp [DebugInfo] Report the format of address tables [4/10] 2020-06-02 17:55:30 +07:00
DWARFDebugAranges.cpp
DWARFDebugArangeSet.cpp [DebugInfo] Report the format of address range tables [5/10] 2020-06-02 17:55:30 +07:00
DWARFDebugFrame.cpp [DebugInfo] Respect relocations when decoding DW_EH_PE_sdata4 & DW_EH_PE_sdata8 and support R_ARM_REL32 2020-07-18 09:00:50 -07:00
DWARFDebugInfoEntry.cpp
DWARFDebugLine.cpp Add verification for DW_AT_decl_file and DW_AT_call_file. 2020-08-05 15:30:13 -07:00
DWARFDebugLoc.cpp Reland D79501 "[DebugInfo] Fix handling DW_OP_call_ref in DWARF64 units." 2020-05-08 09:35:54 -07:00
DWARFDebugMacro.cpp [DebugInfo] Support parsing and dumping of DWARF64 macro units. 2020-06-17 12:57:54 +07:00
DWARFDebugPubTable.cpp [DebugInfo] Fix pessimizing move. NFC. 2020-07-09 14:23:46 +02:00
DWARFDebugRangeList.cpp
DWARFDebugRnglists.cpp
DWARFDie.cpp Reland D79501 "[DebugInfo] Fix handling DW_OP_call_ref in DWARF64 units." 2020-05-08 09:35:54 -07:00
DWARFExpression.cpp [llvm-objdump] Add entry_value and stack_value opcodes 2020-07-14 10:24:59 +01:00
DWARFFormValue.cpp [DebugInfo] Dump form values according to the DWARF format (2/8). 2020-05-19 13:35:07 +07:00
DWARFGdbIndex.cpp
DWARFListTable.cpp [DebugInfo] Fix a possible crash when reading a malformed .debug_*lists section. 2020-07-14 16:35:17 +07:00
DWARFLocationExpression.cpp
DWARFTypeUnit.cpp [DebugInfo] Report the format of type units [10/10] 2020-06-02 17:55:31 +07:00
DWARFUnit.cpp [DebugInfo] Explicitly permit addr_size = 0x02 when parsing DWARF data 2020-06-22 13:11:55 +03:00
DWARFUnitIndex.cpp llvm-dwarfdump: Include unit count in DWP index header dumping 2020-06-12 12:40:02 -07:00
DWARFVerifier.cpp Add verification for DW_AT_decl_file and DW_AT_call_file. 2020-08-05 15:30:13 -07:00
LLVMBuild.txt