daltenty accepted this revision. daltenty added a comment. This revision is now accepted and ready to land.
LGTM, with small nit to address before commit ================ Comment at: clang/lib/Driver/ToolChains/Clang.cpp:6287-6292 if (!TC.getTriple().isOSAIX() && !TC.getTriple().isOSOpenBSD()) { D.Diag(diag::err_drv_unsupported_opt_for_target) << A->getAsString(Args) << TripleStr; } + if (TC.getTriple().isOSAIX()) + CmdArgs.push_back("-pg"); ---------------- nit: we can save our selves a query and clarify by writing this as if-elseif Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D137753/new/ https://reviews.llvm.org/D137753 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits