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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits