aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-29 16:15:23 +0000
committerDan Gohman <gohman@apple.com>2010-10-29 16:15:23 +0000
commit62a5ff573b2d72d7a51c4aebd0def311ecbc746d (patch)
tree203933849c8461d0f8229d798c76952d98a236f8
parente82978109310114a0c423a6ece7e7708658941f1 (diff)
downloadexternal_llvm-62a5ff573b2d72d7a51c4aebd0def311ecbc746d.zip
external_llvm-62a5ff573b2d72d7a51c4aebd0def311ecbc746d.tar.gz
external_llvm-62a5ff573b2d72d7a51c4aebd0def311ecbc746d.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117657 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--tools/bugpoint/ToolRunner.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp
index 36dbe14..8d4935b 100644
--- a/tools/bugpoint/ToolRunner.cpp
+++ b/tools/bugpoint/ToolRunner.cpp
@@ -243,7 +243,7 @@ AbstractInterpreter *AbstractInterpreter::createLLI(const char *Argv0,
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 @@ AbstractInterpreter *AbstractInterpreter::createCustom(
if (CmdPath.empty()) {
Message =
std::string("Cannot find '") + Command +
- "' in executable directory or PATH!\n";
+ "' in PATH!\n";
return 0;
}
@@ -439,7 +439,7 @@ LLC *AbstractInterpreter::createLLC(const char *Argv0,
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 @@ AbstractInterpreter *AbstractInterpreter::createJIT(const char *Argv0,
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 @@ CBE *AbstractInterpreter::createCBE(const char *Argv0,
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 @@ GCC *GCC::create(std::string &Message,
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;
}