summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-19 00:17:32 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-19 00:17:32 +0000
commit155da5b132ff265e800ed973e0187bdadfd81702 (patch)
treee42c5c956113f41586d95acdb4c03cbc9680bc7b /llvm/tools
parent579e70c9b0a0826daae6f4fbf704ad54b8e068a6 (diff)
downloadbcm5719-llvm-155da5b132ff265e800ed973e0187bdadfd81702.tar.gz
bcm5719-llvm-155da5b132ff265e800ed973e0187bdadfd81702.zip
Add a test for r263577: "Add missing error handling in llvm-lto"
On Rafael's suggestion! (also fix a discrepancy between this error message format and the others) From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 263860
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/llvm-lto/llvm-lto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp
index d6f3d8a39f3..16e6a9afc7d 100644
--- a/llvm/tools/llvm-lto/llvm-lto.cpp
+++ b/llvm/tools/llvm-lto/llvm-lto.cpp
@@ -258,7 +258,7 @@ static void createCombinedModuleSummaryIndex() {
CurrentActivity = "loading file '" + Filename + "'";
ErrorOr<std::unique_ptr<ModuleSummaryIndex>> IndexOrErr =
llvm::getModuleSummaryIndexForFile(Filename, diagnosticHandler);
- error(IndexOrErr, "error: " + CurrentActivity);
+ error(IndexOrErr, "error " + CurrentActivity);
std::unique_ptr<ModuleSummaryIndex> Index = std::move(IndexOrErr.get());
CurrentActivity = "";
// Skip files without a module summary.
OpenPOWER on IntegriCloud