From b8cfcb05d4af1421b9c0ee4f1fa1e532a39bd7d0 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 2 Sep 2010 17:35:10 +0000 Subject: [PATCH] Add a comment. llvm-svn: 112836 --- llvm/include/llvm/System/Path.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/System/Path.h b/llvm/include/llvm/System/Path.h index ee3b5f638a1d..23b18d47145a 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