[PATCH] D28607: [ELF] avoid 'invalid-noreturn' error.
Eric Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 12 05:24:28 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL291766: [ELF] avoid 'invalid-noreturn' error. (authored by ioeric).
Changed prior to commit:
https://reviews.llvm.org/D28607?vs=84113&id=84115#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28607
Files:
lld/trunk/ELF/Error.cpp
Index: lld/trunk/ELF/Error.cpp
===================================================================
--- lld/trunk/ELF/Error.cpp
+++ lld/trunk/ELF/Error.cpp
@@ -104,9 +104,7 @@
}
void elf::fatal(Error &E, const Twine &Prefix) {
- handleAllErrors(std::move(E), [&](llvm::ErrorInfoBase &EI) {
- fatal(Prefix + ": " + EI.message());
- });
+ fatal(Prefix + ": " + llvm::toString(std::move(E)));
}
} // namespace lld
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28607.84115.patch
Type: text/x-patch
Size: 424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170112/d0457f9f/attachment.bin>
More information about the llvm-commits
mailing list