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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 00:05:24 PDT 2023


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:703
+    Arg *A = Args.getLastArgNoClaim(options::OPT_fno_integrated_as);
+    D.Diag(diag::warn_drv_unsupported_lto_option_for_target)
+        << A->getSpelling() << ToolChain.getTriple().getTriple();
----------------
The patch is titled AIX but this would change the Linux behavior. In my experience this diagnostic is not useful.


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