[PATCH] D152924: [libLTO][AIX] Respect `-f[no]-integrated-as` on AIX

ChenZheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 20:52:06 PDT 2023


shchenz added a comment.

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.


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