diff options
author | Mikhail Glushenkov <foldr@codedgers.com> | 2010-11-02 20:32:46 +0000 |
---|---|---|
committer | Mikhail Glushenkov <foldr@codedgers.com> | 2010-11-02 20:32:46 +0000 |
commit | 345b344e64ae3e0b595e660a7e0c1833ead42e18 (patch) | |
tree | 20dc388a3dc670643a2b55c5a7bdf48f617ec92b /include/llvm/Support/SystemUtils.h | |
parent | 9cd59712289214225094b5b4108c2dbbf06a052c (diff) | |
download | external_llvm-345b344e64ae3e0b595e660a7e0c1833ead42e18.tar.gz external_llvm-345b344e64ae3e0b595e660a7e0c1833ead42e18.tar.bz2 external_llvm-345b344e64ae3e0b595e660a7e0c1833ead42e18.zip |
FindExecutable: remove the executability check.
This makes the behaviour of FindExecutable more consistent across platforms, but
I'm not very happy with the name...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/SystemUtils.h')
-rw-r--r-- | include/llvm/Support/SystemUtils.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Support/SystemUtils.h b/include/llvm/Support/SystemUtils.h index 3c182c1ca8..91fcfed028 100644 --- a/include/llvm/Support/SystemUtils.h +++ b/include/llvm/Support/SystemUtils.h @@ -30,10 +30,10 @@ bool CheckBitcodeOutputToConsole( bool print_warning = true ///< Control whether warnings are printed ); -/// 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 in -/// the same directory. If the executable cannot be found, return an -/// empty string. +/// FindExecutable - Find a named executable, given the value of argv[0] of the +/// program being executed and the address of main itself. This allows us to +/// find another LLVM tool if it is built in the same directory. An empty string +/// is returned on error. /// @brief Find a named executable. sys::Path FindExecutable(const std::string &ExeName, const char *Argv0, void *MainAddr); |