diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-07 21:33:33 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-07 21:33:33 +0000 |
commit | 35d402fbbaaa7b9db1b56757fb1b390a3889ebad (patch) | |
tree | 65d4ee5dac78eb778405e4543671641b2c461488 /include/Support | |
parent | 23d5724c610803fb090032c35befcb34bca81f06 (diff) |
Remove references to `bugpoint' from the now-generic system utilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7693 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/Support')
-rw-r--r-- | include/Support/SystemUtils.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/Support/SystemUtils.h b/include/Support/SystemUtils.h index 7321cb54fc..4573e27ce0 100644 --- a/include/Support/SystemUtils.h +++ b/include/Support/SystemUtils.h @@ -15,12 +15,13 @@ /// bool isExecutableFile(const std::string &ExeFileName); -// FindExecutable - Find a named executable, giving the argv[0] of bugpoint. -// This assumes the executable is in the same directory as bugpoint itself. -// If the executable cannot be found, return an empty string. -// +/// FindExecutable - Find a named executable, giving the argv[0] of program +/// being executed. This allows us to find another LLVM tool if it is built into +/// the same directory, but that directory is neither the current directory, nor +/// in the PATH. If the executable cannot be found, return an empty string. +/// std::string FindExecutable(const std::string &ExeName, - const std::string &BugPointPath); + const std::string &ProgramPath); /// RunProgramWithTimeout - This function executes the specified program, with /// the specified null-terminated argument array, with the stdin/out/err fd's |