[PATCH] D140628: [flang] Add driver install directory to AIX toolchain program paths list
wael yehia via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 25 16:40:19 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5e72407635a4: [flang] Add driver install directory to AIX toolchain program paths list. (authored by pscoro, committed by w2yehia).
Changed prior to commit:
https://reviews.llvm.org/D140628?vs=485112&id=492294#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140628/new/
https://reviews.llvm.org/D140628
Files:
clang/lib/Driver/ToolChains/AIX.cpp
Index: clang/lib/Driver/ToolChains/AIX.cpp
===================================================================
--- clang/lib/Driver/ToolChains/AIX.cpp
+++ clang/lib/Driver/ToolChains/AIX.cpp
@@ -287,6 +287,10 @@
/// AIX - AIX tool chain which can call as(1) and ld(1) directly.
AIX::AIX(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
: ToolChain(D, Triple, Args) {
+ getProgramPaths().push_back(getDriver().getInstalledDir());
+ if (getDriver().getInstalledDir() != getDriver().Dir)
+ getProgramPaths().push_back(getDriver().Dir);
+
ParseInlineAsmUsingAsmParser = Args.hasFlag(
options::OPT_fintegrated_as, options::OPT_fno_integrated_as, true);
getLibraryPaths().push_back(getDriver().SysRoot + "/usr/lib");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140628.492294.patch
Type: text/x-patch
Size: 753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230126/85135e6e/attachment.bin>
More information about the cfe-commits
mailing list