vitalybuka added inline comments.
================ Comment at: clang/lib/Driver/SanitizerArgs.cpp:369 // Check that LTO is enabled if we need it. if ((Kinds & NeedsLTO) && !D.isUsingLTO()) { D.Diag(diag::err_drv_argument_only_allowed_with) ---------------- Is this change needed to avoid errors at "Kinds & NeedsLTO" and KindsToDiagnose? Could you create a test for this change? Repository: rC Clang https://reviews.llvm.org/D44064 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits