diff options
author | madanial0 <118996571+madanial0@users.noreply.github.com> | 2023-12-04 16:34:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-04 16:34:08 -0500 |
commit | 8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26 (patch) | |
tree | 66d25f932f18a35ab5179111086c8a94458caced /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0d59cfc7a3446dc6078dfc57783048f490d8d998 (diff) | |
download | llvm-8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26.zip llvm-8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26.tar.gz llvm-8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26.tar.bz2 |
[flang] Pass Argv0 to getIntriniscDir and getOpenMPHeadersDir (#73254)
The `llvm::sys::fs::getMainExecutable(nullptr, nullptr)` is not able to
obtain the correct executable path on AIX without Argv0 due to the lack
of a current process on AIX's `proc` filesystem. This causes a build
failure on AIX as intrinsic module directory is missing.
---------
Co-authored-by: Mark Danial <mak.danial@ibm.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions