[PATCH] D85505: [dwarf2yaml] Change the return type of dumping functions to Error.

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 00:48:08 PDT 2020


Higuoxing created this revision.
Higuoxing added reviewers: jhenderson, grimar, MaskRay.
Herald added subscribers: llvm-commits, aprantl.
Herald added a project: LLVM.
Higuoxing requested review of this revision.

This patch changes the return type of dumping functions to Error. This
is useful when the DWARF parser encounters an error, clients can consume
this error and dump the section as a raw content section.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85505

Files:
  llvm/tools/obj2yaml/dwarf2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85505.283830.patch
Type: text/x-patch
Size: 3340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200807/3f9fc5fa/attachment.bin>


More information about the llvm-commits mailing list