[PATCH] D64014: [Object/ELF.h] - Improve error reporting.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 09:46:44 PDT 2019
MaskRay added inline comments.
================
Comment at: include/llvm/Object/ELF.h:62
+ if (TableOrErr)
+ return "[" + std::to_string(Sec - &(*TableOrErr).front()) + "]";
+ llvm::consumeError(TableOrErr.takeError());
----------------
`&TableOrErr->front()`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64014/new/
https://reviews.llvm.org/D64014
More information about the llvm-commits
mailing list