diff options
author | Alex Brachet <abrachet@google.com> | 2023-02-10 19:41:43 +0000 |
---|---|---|
committer | Alex Brachet <abrachet@google.com> | 2023-02-10 19:42:32 +0000 |
commit | 3e57aa304f15a0821e5bcc90bd346529fed6658d (patch) | |
tree | 1727bc962c40bdf189914d75b359640d5707b966 /llvm/lib/Support/Unix/Path.inc | |
parent | 1f173a0653e7f0c3800033edfa16ffe4c35cde85 (diff) | |
download | llvm-3e57aa304f15a0821e5bcc90bd346529fed6658d.zip llvm-3e57aa304f15a0821e5bcc90bd346529fed6658d.tar.gz llvm-3e57aa304f15a0821e5bcc90bd346529fed6658d.tar.bz2 |
[llvm-driver] Reinvoke clang as described by llvm driver extra args
Differential Revision: https://reviews.llvm.org/D137800
Diffstat (limited to 'llvm/lib/Support/Unix/Path.inc')
-rw-r--r-- | llvm/lib/Support/Unix/Path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc index 3efcad4..e2aece4 100644 --- a/llvm/lib/Support/Unix/Path.inc +++ b/llvm/lib/Support/Unix/Path.inc @@ -190,7 +190,7 @@ static char *getprogpath(char ret[PATH_MAX], const char *bin) { /// GetMainExecutable - Return the path to the main executable, given the /// value of argv[0] from program startup. -std::string getMainExecutableImpl(const char *argv0, void *MainAddr) { +std::string getMainExecutable(const char *argv0, void *MainAddr) { #if defined(__APPLE__) // On OS X the executable path is saved to the stack by dyld. Reading it // from there is much faster than calling dladdr, especially for large |