hubert.reinterpretcast added inline comments.
Comment at: clang/lib/Driver/ToolChains/AIX.cpp:152
+ if (getToolChain().ShouldLinkCXXStdlib(Args))
+getToolChain().AddCXXStdlibLibArgs(Args, CmdArgs);
This is commonly added before `-lc`, etc. To be consistent
ShuhongL added a comment.
Working on adding lit test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85315/new/
https://reviews.llvm.org/D85315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https
ShuhongL created this revision.
ShuhongL added reviewers: daltenty, hubert.reinterpretcast, stevewan.
ShuhongL added a project: LLVM.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
ShuhongL requested review of this revision.
Add C++ linker option to the AIX clang driver too