[PATCH] D104271: llvm-dwarfdump: Print warnings on invalid DWARF

Jan Kratochvil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 14 15:03:09 PDT 2021


jankratochvil created this revision.
jankratochvil added a reviewer: dblaikie.
jankratochvil added a project: LLVM.
Herald added subscribers: cmtice, hiraditya.
Herald added a reviewer: jhenderson.
jankratochvil requested review of this revision.
Herald added a subscriber: MaskRay.

llvm-dwarfdump was silent even when the format of DWARF was invalid and/or llvm-dwarfdump did not understand/support some of the constructs. This can be pretty confusing as llvm-dwarfdump is a tool for DWARF producers+consumers development.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104271

Files:
  llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
  llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
  llvm/test/tools/llvm-dwarfdump/X86/format-warnings.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104271.352004.patch
Type: text/x-patch
Size: 5438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210614/e0061c7b/attachment.bin>


More information about the llvm-commits mailing list