[all-commits] [llvm/llvm-project] 8dc474: [flang] Pass Argv0 to getIntriniscDir and getOpenM...
madanial0 via All-commits
all-commits at lists.llvm.org
Mon Dec 4 13:34:21 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26
https://github.com/llvm/llvm-project/commit/8dc474c6b7d5fc4e0e7f18aac7750eb8c6bb6b26
Author: madanial0 <118996571+madanial0 at users.noreply.github.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M flang/include/flang/Frontend/CompilerInvocation.h
M flang/lib/Frontend/CompilerInvocation.cpp
Log Message:
-----------
[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 at ibm.com>
More information about the All-commits
mailing list