llvm-mirror/lib/DebugInfo
James Henderson 2227cf704f [DebugInfo] Report errors for truncated debug line standard opcode
Standard opcodes usually have ULEB128 arguments, so it is generally not
possible to recover from such errors. This patch causes the parser to
stop parsing the table in such situations.

Also don't emit the operands or add data to the table if there is an
error reading these opcodes.

Reviewed by: JDevlieghere

Differential Revision: https://reviews.llvm.org/D81470
2020-06-15 11:50:12 +01:00
..
CodeView [PDB] Remove unique_ptr wrapper around C13 line table subsections 2020-05-02 16:35:07 -07:00
DWARF [DebugInfo] Report errors for truncated debug line standard opcode 2020-06-15 11:50:12 +01:00
GSYM [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t> 2020-05-02 14:04:44 +08:00
MSF Revert "Remove redundant "std::move"s in return statements" 2020-02-10 07:07:40 -08:00
PDB Re-land "Migrate the rest of COFFObjectFile to Error" 2020-06-11 14:46:16 -07:00
Symbolize Re-land "Migrate the rest of COFFObjectFile to Error" 2020-06-11 14:46:16 -07:00
CMakeLists.txt
LLVMBuild.txt