summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitdf555fd6f8bcfa1744dd447fdefbf06dbd627a2c (patch)
tree62f24b3eddab31a8742b91f379306bdd7f54e666 /llvm/lib/Support/SystemUtils.cpp
parent08954aa4e1c9850f6cee629a297616bda62da4f9 (diff)
downloadbcm5719-llvm-df555fd6f8bcfa1744dd447fdefbf06dbd627a2c.tar.gz
bcm5719-llvm-df555fd6f8bcfa1744dd447fdefbf06dbd627a2c.zip
Improve sys::Path::makeAbsolute on Win32.
- Patch by Viktor Kutuzov! - Minor tweak by me to add llvm_unreachable calls on FIXMEd error paths. llvm-svn: 75424
Diffstat (limited to 'llvm/lib/Support/SystemUtils.cpp')
-rw-r--r--llvm/lib/Support/SystemUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/SystemUtils.cpp b/llvm/lib/Support/SystemUtils.cpp
index c8c323876bf..c86e200fd95 100644
--- a/llvm/lib/Support/SystemUtils.cpp
+++ b/llvm/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()) {
OpenPOWER on IntegriCloud