summaryrefslogtreecommitdiff
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
commit040bbcc876c9bd2056bc73f18efaed1e1efffa0c (patch)
treed1c61f3afe3c20cf1c5e2e2f355418a0a0ef6eea
parent230c27472458d5f1f52f96347b655d1b5c531f33 (diff)
downloadllvm-040bbcc876c9bd2056bc73f18efaed1e1efffa0c.tar.gz
llvm-040bbcc876c9bd2056bc73f18efaed1e1efffa0c.tar.bz2
llvm-040bbcc876c9bd2056bc73f18efaed1e1efffa0c.tar.xz
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112836 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/System/Path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index ee3b5f638a..23b18d4714 100644
--- a/include/llvm/System/Path.h
+++ b/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