[PATCH] D104271: llvm-dwarfdump: Print warnings on invalid DWARF
Jan Kratochvil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 21 07:25:47 PDT 2021
jankratochvil updated this revision to Diff 353364.
jankratochvil marked an inline comment as done.
jankratochvil added a comment.
Changes the messages to "incl." and "excl." as I hope that can be acceptable for both of us.
I have newly used `joinErrors` there which I intended originally and then I forgot about it. It creates a two-line error:
warning: DWARF unit at 0x0000002c cannot be parsed:
warning: unexpected end of data at offset 0x2d while reading [0x2c, 0x30)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104271/new/
https://reviews.llvm.org/D104271
Files:
llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h
llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
llvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp
llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
llvm/test/tools/llvm-dwarfdump/X86/debug-entry-invalid.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104271.353364.patch
Type: text/x-patch
Size: 17649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210621/dd671f8a/attachment.bin>
More information about the llvm-commits
mailing list