Revert "[DebugInfo] Make most debug line prologue errors non-fatal to parsing"
authorJames Henderson <james.henderson@sony.com>
Tue, 28 Jan 2020 11:49:30 +0000 (11:49 +0000)
committerJames Henderson <james.henderson@sony.com>
Tue, 28 Jan 2020 11:49:30 +0000 (11:49 +0000)
commit5c0516598436ee7aad2ba950e936d8524c3ef324
tree16d831738459eb73825f386e28004d78fd68da74
parentb94191fecdbadc18b342a27df1109754edcb8c4b
Revert "[DebugInfo] Make most debug line prologue errors non-fatal to parsing"

This reverts commit b94191fecdbadc18b342a27df1109754edcb8c4b.

The change broke both an LLD test and the LLDB build.
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_malformed.s
llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp