ZarkoCA added inline comments.
================ Comment at: clang/lib/Driver/ToolChains/CommonArgs.cpp:263 + if (!T.isOSAIX()) { + TC.getDriver().Diag(diag::err_drv_unsupported_opt) + << A.getAsString(Args); ---------------- anjankgk wrote: > 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). I see, that makes sense. But now with your patch this option is supported even if only for the AIX target. So we could make the case to use the suggested error message. That said, I am still fine with what you choose. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D106688/new/ https://reviews.llvm.org/D106688 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits