Add a comment.
authorDan Gohman <gohman@apple.com>
Thu, 2 Sep 2010 17:35:10 +0000 (17:35 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 2 Sep 2010 17:35:10 +0000 (17:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112836 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/System/Path.h

index ee3b5f638a1d95fea788aa14b61665561c0ef4ce..23b18d47145aaab3ea4f22b853419f57e14a90c3 100644 (file)
@@ -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