[PATCH] D71875: [DWARF] Return Error from DWARFDebugArangeSet::extract().

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 04:12:39 PST 2019


ikudrin created this revision.
ikudrin added reviewers: zturner, clayborg, aprantl, probinson, dblaikie.
ikudrin added projects: debug-info, LLVM.
Herald added a subscriber: hiraditya.

This helps to detect and report parsing errors better. The patch follows the ideas of LLDB's patches D59370 <https://reviews.llvm.org/D59370> and D59381 <https://reviews.llvm.org/D59381>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71875

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/test/DebugInfo/X86/dwarfdump-debug-aranges-error.s
  llvm/tools/obj2yaml/dwarf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71875.235273.patch
Type: text/x-patch
Size: 10328 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191225/a09c784a/attachment.bin>


More information about the llvm-commits mailing list