1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib
Pavel Labath 4e52ec5b13 [DWARFDebugLine] Check for errors when parsing v2 file/dir lists
Summary:
Without this we could silently accept an invalid prologue because the
default DataExtractor behavior is to return an empty string when
reaching the end of file. And empty string is also used to terminate
these lists.

This makes the parsing code slightly more complicated, but this
complexity will go away once the parser starts working with truncating
data extractors. The reason I am doing it this way is because without
this, the truncation would regress the quality of error messages (right
now, we produce bad error messages only near EOF, but truncation would
make everything behave as if it was near EOF).

Reviewers: dblaikie, probinson, jhenderson

Subscribers: hiraditya, MaskRay, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77555
2020-04-21 16:55:36 +02:00
..
Analysis AliasAnalysisSummary.h - cleanup includes and forward declarations. NFC. 2020-04-21 11:32:58 +01:00
AsmParser Recommit: DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode serialization/deserialization 2020-04-20 17:29:04 -07:00
BinaryFormat [llvm-objdump][XCOFF] Use symbol index+symbol name + storage mapping class as label for -D 2020-04-06 10:10:10 -04:00
Bitcode Recommit: DebugInfo: Fix rangesBaseAddress DICompileUnit bitcode serialization/deserialization 2020-04-20 17:29:04 -07:00
Bitstream
CodeGen Let targets adjust physical output- and anti-deps 2020-04-21 13:45:03 +01:00
DebugInfo [DWARFDebugLine] Check for errors when parsing v2 file/dir lists 2020-04-21 16:55:36 +02:00
Demangle
DWARFLinker [cmake] LLVMDWARFLinker - add include/llvm/DWARFLinker header path 2020-04-18 12:31:41 +01:00
ExecutionEngine [CallSite removal][ExecutionEngine] Use CallBase in the Interpreter. NFC 2020-04-20 10:37:03 -07:00
Frontend [cmake] LLVMFrontendOpenMP - fix include/llvm/Frontend/OpenMP header path 2020-04-18 12:31:39 +01:00
Fuzzer
FuzzMutate
IR [DebugInfo] Change DIEnumerator payload type from int64_t to APInt 2020-04-18 12:49:31 -07:00
IRReader
LineEditor
Linker Remove SequentialType from the type heirarchy. 2020-04-06 17:03:49 -07:00
LTO Enable new passmanager plugin support for LTO. 2020-04-14 15:07:07 -07:00
MC [MC][NFC] Use camelCase style for functions in MCObjectStreamer 2020-04-20 20:09:20 -07:00
MCA [MC][Bugfix] Remove redundant parameter for relaxInstruction 2020-04-21 11:06:55 +08:00
Object [Object] Change uint32_t getSymbolFlags() to Expected<uint32_t> getSymbolFlags(). 2020-04-18 21:27:57 +08:00
ObjectYAML [yaml2obj] - Verify that sections are sorted by their file offsets when creating segments. 2020-04-21 15:50:42 +03:00
Option
Passes [cmake] LLVMPasses - add include/llvm header path 2020-04-18 12:31:41 +01:00
ProfileData Recommit [SampleFDO] Add flag for partial profile. 2020-04-07 14:28:25 -07:00
Remarks
Support SHA1.h - remove unnecessary ArrayRef.h/StringRef.h includes. NFC. 2020-04-21 15:12:17 +01:00
TableGen TGLexer.h - add missing <vector> include. 2020-04-21 11:57:10 +01:00
Target X86ISelLowering.cpp - clang-format to fix col80 limit. NFC. 2020-04-21 15:18:23 +01:00
Testing
TextAPI PR45561: Return a literal string rather than an error string to avoid returning reference to local 2020-04-15 14:27:29 -07:00
ToolDrivers
Transforms [InstCombine] improve types/names for logic-of-icmp helper function; NFC 2020-04-21 10:16:45 -04:00
WindowsManifest
XRay
CMakeLists.txt
LLVMBuild.txt