[PATCH] D85505: [dwarf2yaml] Change the return type of dumping functions to Error.
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 10 04:33:52 PDT 2020
jhenderson added a comment.
In D85505#2206219 <https://reviews.llvm.org/D85505#2206219>, @Higuoxing wrote:
> In D85505#2206209 <https://reviews.llvm.org/D85505#2206209>, @jhenderson wrote:
>
>> Right, that would be my personal preference. Limiting the scope of where errors need handling by not emitting them earlier than necessary seems beneficial to me. @grimar, any thoughts?
>
> I think your opinion makes more sense. Actually, some of the DWARF dumpers are fallible. We can keep the return type to be `void` by now and refactor them step by step. Then, this change can be abandoned?
Yes, I think so.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85505/new/
https://reviews.llvm.org/D85505
More information about the llvm-commits
mailing list