mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +00:00
Port GetMainExecutable over to PathV2.
I will remove the V1 version as soon as I change clang in the next commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -696,7 +696,10 @@ error_code map_file_pages(const Twine &path, off_t file_offset, size_t size,
|
||||
/// platform specific error_code.
|
||||
error_code unmap_file_pages(void *base, size_t size);
|
||||
|
||||
|
||||
/// 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.
|
||||
std::string getMainExecutable(const char *argv0, void *MainExecAddr);
|
||||
|
||||
/// @}
|
||||
/// @name Iterators
|
||||
|
Reference in New Issue
Block a user