aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/SystemUtils.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-12 20:23:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-12 20:23:56 +0000
commita00e85c9b1d57d3ba89592b95f55c571170a8ab9 (patch)
tree2308df5e2076e54bc4368f71c1267730a2770640 /lib/Support/SystemUtils.cpp
parentf36892335b4919b9120e48a792e6b3630b9de978 (diff)
Improve sys::Path::makeAbsolute on Win32.
- Patch by Viktor Kutuzov! - Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/SystemUtils.cpp')
-rw-r--r--lib/Support/SystemUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/SystemUtils.cpp b/lib/Support/SystemUtils.cpp
index c8c323876b..c86e200fd9 100644
--- a/lib/Support/SystemUtils.cpp
+++ b/lib/Support/SystemUtils.cpp
@@ -51,7 +51,7 @@ sys::Path llvm::FindExecutable(const std::string &ExeName,
// Otherwise check the directory that the calling program is in. We can do
// this if ProgramPath contains at least one / character, indicating that it
- // is a relative path to bugpoint itself.
+ // is a relative path to the executable itself.
Result = ProgramPath;
Result.eraseComponent();
if (!Result.isEmpty()) {