[llvm-commits] CVS: llvm/include/Support/SystemUtils.h
Misha Brukman
brukman at cs.uiuc.edu
Thu Aug 7 16:34:02 PDT 2003
Changes in directory llvm/include/Support:
SystemUtils.h updated: 1.2 -> 1.3
---
Log message:
Remove references to `bugpoint' from the now-generic system utilities.
---
Diffs of the changes:
Index: llvm/include/Support/SystemUtils.h
diff -u llvm/include/Support/SystemUtils.h:1.2 llvm/include/Support/SystemUtils.h:1.3
--- llvm/include/Support/SystemUtils.h:1.2 Thu Aug 7 16:28:47 2003
+++ llvm/include/Support/SystemUtils.h Thu Aug 7 16:33:32 2003
@@ -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
More information about the llvm-commits
mailing list