summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-09-02 17:35:10 +0000
committerDan Gohman <gohman@apple.com>2010-09-02 17:35:10 +0000
commitb8cfcb05d4af1421b9c0ee4f1fa1e532a39bd7d0 (patch)
tree5b94e6ac55d9fa53931a5c4f5483dca5c24601bc
parent05bbef63b66047ce1b205d794acfa2c681f1f2e5 (diff)
downloadbcm5719-llvm-b8cfcb05d4af1421b9c0ee4f1fa1e532a39bd7d0.tar.gz
bcm5719-llvm-b8cfcb05d4af1421b9c0ee4f1fa1e532a39bd7d0.zip
Add a comment.
llvm-svn: 112836
-rw-r--r--llvm/include/llvm/System/Path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/System/Path.h b/llvm/include/llvm/System/Path.h
index ee3b5f638a1..23b18d47145 100644
--- a/llvm/include/llvm/System/Path.h
+++ b/llvm/include/llvm/System/Path.h
@@ -164,6 +164,7 @@ namespace sys {
/// GetMainExecutable - Return the path to the main executable, given the
/// value of argv[0] from program startup and the address of main itself.
+ /// In extremis, this function may fail and return an empty path.
static Path GetMainExecutable(const char *argv0, void *MainAddr);
/// This is one of the very few ways in which a path can be constructed
OpenPOWER on IntegriCloud