[PATCH] D19940: Convert PDB error handling into using std::error_code instead of custom error codes

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Wed May 4 16:03:55 PDT 2016


majnemer added a subscriber: majnemer.
majnemer added a comment.

I like the idea of `llvm::Error` if only because it permits for more descriptive messages like so:

  llvm::make_error<GenericError>("unexpected relocation in CIE")

without having to make a billion error codes.


http://reviews.llvm.org/D19940





More information about the llvm-commits mailing list