llvm-project/llvm/unittests/DebugInfo
James Henderson bf4d8f2952 [DebugInfo] Add checks for v2 directory and file name table terminators
The DWARFv2-4 specification for the line table header states that the
include directories and file name tables both end with a single null
byte. Prior to this change, the parser did not detect if this byte was
missing, because it also stopped reading the tables once it reached the
prologue end, as claimed by the header_length field. This change adds a
check that the terminator has been seen at the end of each table.

Reviewed by: dblaikie, MaskRay

Differential Revision: https://reviews.llvm.org/D74413
2020-02-12 14:49:22 +00:00
..
CodeView [codeview] Prune SimpleTypeSerializer.h headers, NFC 2020-01-24 16:07:36 -08:00
DWARF [DebugInfo] Add checks for v2 directory and file name table terminators 2020-02-12 14:49:22 +00:00
GSYM Make llvm::StringRef to std::string conversions explicit. 2020-01-28 23:25:25 +01:00
MSF Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
PDB [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
CMakeLists.txt Add GSYM utility files along with unit tests. 2019-06-26 14:09:09 +00:00