mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-28 22:24:28 +00:00
Stub out a Path::GetMainExecutable call to find the path to the
main executable of a program. This needs to be implemented on windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47835 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -161,6 +161,10 @@ namespace sys {
|
||||
/// @returns The dynamic link library suffix for the current platform.
|
||||
/// @brief Return the dynamic link library suffix.
|
||||
static std::string GetDLLSuffix();
|
||||
|
||||
/// GetMainExecutable - Return the path to the main executable, given the
|
||||
/// value of argv[0] from program startup and the address of main itself.
|
||||
static Path GetMainExecutable(const char *argv0, void *MainAddr);
|
||||
|
||||
/// This is one of the very few ways in which a path can be constructed
|
||||
/// with a syntactically invalid name. The only *legal* invalid name is an
|
||||
|
Reference in New Issue
Block a user