[PATCH] D85313: [DebugInfo] Don't error for zero-length arange entries
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 03:00:56 PDT 2020
jhenderson updated this revision to Diff 283549.
jhenderson edited the summary of this revision.
jhenderson added a comment.
I've changed the existing error to a "warning" in the event of premature terminators with this change. I could just do what was being done before and emit an error. Functionally, they end up the same, but emitting an error does not allow continued parsing of the section.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85313/new/
https://reviews.llvm.org/D85313
Files:
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
llvm/unittests/DebugInfo/DWARF/DWARFDebugArangeSetTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85313.283549.patch
Type: text/x-patch
Size: 6635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200806/cc3e3c62/attachment.bin>
More information about the llvm-commits
mailing list