[llvm-commits] [llvm] r112836 - /llvm/trunk/include/llvm/System/Path.h
Dan Gohman
gohman at apple.com
Thu Sep 2 10:35:11 PDT 2010
Author: djg
Date: Thu Sep 2 12:35:10 2010
New Revision: 112836
URL: http://llvm.org/viewvc/llvm-project?rev=112836&view=rev
Log:
Add a comment.
Modified:
llvm/trunk/include/llvm/System/Path.h
Modified: llvm/trunk/include/llvm/System/Path.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Path.h?rev=112836&r1=112835&r2=112836&view=diff
==============================================================================
--- llvm/trunk/include/llvm/System/Path.h (original)
+++ llvm/trunk/include/llvm/System/Path.h Thu Sep 2 12:35:10 2010
@@ -164,6 +164,7 @@
/// 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
More information about the llvm-commits
mailing list