diff options
author | Dan Gohman <gohman@apple.com> | 2010-10-29 16:15:23 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-10-29 16:15:23 +0000 |
commit | 9e08246040a72e59ba033eb1e5be7a417dd6fff1 (patch) | |
tree | ed26b687bc8d82d8b516c62208af8b41f3855cd3 /llvm/tools | |
parent | 706bbf84d86fe03ed4423b1e4ddaecce2d4c6ff4 (diff) | |
download | bcm5719-llvm-9e08246040a72e59ba033eb1e5be7a417dd6fff1.tar.gz bcm5719-llvm-9e08246040a72e59ba033eb1e5be7a417dd6fff1.zip |
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.
llvm-svn: 117657
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/bugpoint/ToolRunner.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/tools/bugpoint/ToolRunner.cpp b/llvm/tools/bugpoint/ToolRunner.cpp index 36dbe144c1c..8d4935b558f 100644 --- a/llvm/tools/bugpoint/ToolRunner.cpp +++ b/llvm/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; } |