diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-03 02:55:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-03 02:55:43 +0000 |
commit | 1a091447f495bcf14a182e5960236db5f3adfede (patch) | |
tree | 6f7b39c16ee2d790cfad1277d483fd19d12322a9 /lib/System/Win32 | |
parent | 53b727791729c5fc1ea5e40dd41fe93bfcde0288 (diff) | |
download | external_llvm-1a091447f495bcf14a182e5960236db5f3adfede.zip external_llvm-1a091447f495bcf14a182e5960236db5f3adfede.tar.gz external_llvm-1a091447f495bcf14a182e5960236db5f3adfede.tar.bz2 |
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
Diffstat (limited to 'lib/System/Win32')
-rw-r--r-- | lib/System/Win32/Path.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index ee3f622..0499e61 100644 --- a/lib/System/Win32/Path.inc +++ b/lib/System/Win32/Path.inc @@ -214,6 +214,12 @@ Path::GetCurrentDirectory() { return Path(pathname); } +/// GetMainExecutable - Return the path to the main executable, given the +/// value of argv[0] from program startup. +Path Path::GetMainExecutable(const char *argv0, void *MainAddr) { + return Path(); +} + // FIXME: the above set of functions don't map to Windows very well. |