forked from OSchip/llvm-project
parent
05bbef63b6
commit
b8cfcb05d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue