[PATCH] D146578: [AIX][r] Do not call AddFilePathLibArgs with -r
Michael Francis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 21 19:26:12 PDT 2023
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG4dc04557d71c: [AIX][r] Do not call AddFilePathLibArgs with -r (authored by francii).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146578/new/
https://reviews.llvm.org/D146578
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
@@ -234,8 +234,8 @@
// Add directory to library search path.
Args.AddAllArgs(CmdArgs, options::OPT_L);
- ToolChain.AddFilePathLibArgs(Args, CmdArgs);
if (!Args.hasArg(options::OPT_r)) {
+ ToolChain.AddFilePathLibArgs(Args, CmdArgs);
ToolChain.addProfileRTLibs(Args, CmdArgs);
if (getToolChain().ShouldLinkCXXStdlib(Args))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146578.507208.patch
Type: text/x-patch
Size: 540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230322/d963af3d/attachment.bin>
More information about the cfe-commits
mailing list