[all-commits] [llvm/llvm-project] b94191: [DebugInfo] Make most debug line prologue errors n...
James Henderson via All-commits
all-commits at lists.llvm.org
Tue Jan 28 03:30:03 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b94191fecdbadc18b342a27df1109754edcb8c4b
https://github.com/llvm/llvm-project/commit/b94191fecdbadc18b342a27df1109754edcb8c4b
Author: James Henderson <james.henderson at sony.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
M llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
M llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_malformed.s
M llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
M llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
Log Message:
-----------
[DebugInfo] Make most debug line prologue errors non-fatal to parsing
Many of the debug line prologue errors are not inherently fatal. In most
cases, we can make reasonable assumptions and carry on. This patch does
exactly that. In the case of length problems, the approach of "the
claimed length is correct" is taken to be consistent with other
instances such as the SectionParser, which ignores the read length.
Reviewed by: dblaikie
Differential Revision: https://reviews.llvm.org/D72158
More information about the All-commits
mailing list