[PATCH] D49964: [DWARF] Refactor DWARF classes to use unified error reporting. NFC.

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 3 02:07:33 PDT 2018


jhenderson added a comment.

I just noticed that llvmObject has an `object_error` equivalent to std::errc, with a make_error_code method allowing us to turn them into std::error_code for use with the new function. In particular, there are unexpected_eof and parser_failed errors, which might be more appropriate for certain situations in this file. What do you think?


Repository:
  rL LLVM

https://reviews.llvm.org/D49964





More information about the llvm-commits mailing list