[PATCH] D106688: [AIX] Pass the -b option to linker on AIX

Anjan Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 28 12:38:07 PDT 2021


anjankgk added a comment.

Thank you reviewing Zarko!



================
Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:263
+      if (!T.isOSAIX()) {
+        TC.getDriver().Diag(diag::err_drv_unsupported_opt)
+            << A.getAsString(Args);
----------------
ZarkoCA wrote:
> nit, I prefer this error message but it's up to you. 
I intentionally chose that error msg (without target mention) since that's the one the original option threw (existing '-b' option which was defined as unsupported for all the platforms).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106688/new/

https://reviews.llvm.org/D106688



More information about the cfe-commits mailing list