[PATCH] D67038: Removes repetition in the error message.
Yu Jian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 31 06:09:41 PDT 2019
wyjw created this revision.
Herald added subscribers: llvm-commits, rupprecht.
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D67038
Files:
llvm/tools/llvm-ar/llvm-ar.cpp
Index: llvm/tools/llvm-ar/llvm-ar.cpp
===================================================================
--- llvm/tools/llvm-ar/llvm-ar.cpp
+++ llvm/tools/llvm-ar/llvm-ar.cpp
@@ -929,7 +929,7 @@
object::Archive Archive(Buf.get()->getMemBufferRef(), Err);
EC = errorToErrorCode(std::move(Err));
failIfError(EC,
- "error loading '" + ArchiveName + "': " + EC.message() + "!");
+ "error loading '" + ArchiveName + "'");
if (Archive.isThin())
CompareFullPath = true;
performOperation(Operation, &Archive, std::move(Buf.get()), NewMembers);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67038.218218.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190831/6471b855/attachment.bin>
More information about the llvm-commits
mailing list