[llvm-commits] [llvm] r117657 - /llvm/trunk/tools/bugpoint/ToolRunner.cpp
Dan Gohman
gohman at apple.com
Fri Oct 29 09:15:23 PDT 2010
Author: djg
Date: Fri Oct 29 11:15:23 2010
New Revision: 117657
URL: http://llvm.org/viewvc/llvm-project?rev=117657&view=rev
Log:
Fix these error messages to not mention PATH in cases where
PATH isn't actually searched, and to not mention the executable
directory when it isn't actually searched.
Modified:
llvm/trunk/tools/bugpoint/ToolRunner.cpp
Modified: llvm/trunk/tools/bugpoint/ToolRunner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/bugpoint/ToolRunner.cpp?rev=117657&r1=117656&r2=117657&view=diff
==============================================================================
--- llvm/trunk/tools/bugpoint/ToolRunner.cpp (original)
+++ llvm/trunk/tools/bugpoint/ToolRunner.cpp Fri Oct 29 11:15:23 2010
@@ -243,7 +243,7 @@
return new LLI(LLIPath, ToolArgs);
}
- Message = "Cannot find `lli' in executable directory or PATH!\n";
+ Message = "Cannot find `lli' in executable directory!\n";
return 0;
}
@@ -343,7 +343,7 @@
if (CmdPath.empty()) {
Message =
std::string("Cannot find '") + Command +
- "' in executable directory or PATH!\n";
+ "' in PATH!\n";
return 0;
}
@@ -439,7 +439,7 @@
std::string LLCPath =
FindExecutable("llc", Argv0, (void *)(intptr_t)&createLLC).str();
if (LLCPath.empty()) {
- Message = "Cannot find `llc' in executable directory or PATH!\n";
+ Message = "Cannot find `llc' in executable directory!\n";
return 0;
}
@@ -531,7 +531,7 @@
return new JIT(LLIPath, Args);
}
- Message = "Cannot find `lli' in executable directory or PATH!\n";
+ Message = "Cannot find `lli' in executable directory!\n";
return 0;
}
@@ -610,7 +610,7 @@
FindExecutable("llc", Argv0, (void *)(intptr_t)&createCBE);
if (LLCPath.isEmpty()) {
Message =
- "Cannot find `llc' in executable directory or PATH!\n";
+ "Cannot find `llc' in executable directory!\n";
return 0;
}
@@ -870,7 +870,7 @@
const std::vector<std::string> *Args) {
sys::Path GCCPath = sys::Program::FindProgramByName(GCCBinary);
if (GCCPath.isEmpty()) {
- Message = "Cannot find `"+ GCCBinary +"' in executable directory or PATH!\n";
+ Message = "Cannot find `"+ GCCBinary +"' in PATH!\n";
return 0;
}
More information about the llvm-commits
mailing list