[all-commits] [llvm/llvm-project] 7116e4: [DebugInfo] Make most debug line prologue errors n...
James Henderson via All-commits
all-commits at lists.llvm.org
Wed Jan 29 02:26:26 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7116e431c0ab4194907bbaf73482ac05d923787f
https://github.com/llvm/llvm-project/commit/7116e431c0ab4194907bbaf73482ac05d923787f
Author: James Henderson <james.henderson at sony.com>
Date: 2020-01-29 (Wed, 29 Jan 2020)
Changed paths:
M lld/test/ELF/Inputs/undef-bad-debug.s
M lld/test/ELF/undef.s
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
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 "assume
stated length is correct" is taken which means the offset might need
adjusting.
This is a relanding of b94191fe, fixing an LLD test and the LLDB build.
Reviewed by: dblaikie, labath
Differential Revision: https://reviews.llvm.org/D72158
More information about the All-commits
mailing list