[PATCH] D152924: [libLTO][AIX] Respect `-f[no]-integrated-as` on AIX
Qiongsi Wu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 16 06:02:38 PDT 2023
qiongsiwu1 marked an inline comment as done.
qiongsiwu1 added a comment.
In D152924#4426895 <https://reviews.llvm.org/D152924#4426895>, @shchenz wrote:
> Seems passing `-Wl,-bplugin_opt:-no-integrated-as=1` from clang driver does not work as expected. Is this expected or by design(We can only use -fno-integrated-as but no -Wl,-bplugin_opt:-no-integrated-as=1)?
>
> clang -flto -Wl,-bplugin_opt:-no-integrated-as=1 *.c -v
> -bplugin_opt:-no-integrated-as=1 -bplugin:../lib/libLTO.so -bplugin_opt:-mcpu=pwr7 -bplugin_opt:-no-integrated-as=0 ;;; Note the second -no-integrated-as=0 pass from clang front-end.
Thanks for catching this! The latest patch fixed the problem. As you rightly pointed out, always passing in ` -no-integrated-as=0` by default interferes with uses such as above.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152924/new/
https://reviews.llvm.org/D152924
More information about the cfe-commits
mailing list