[PATCH] D44064: [Driver] Automatically disable incompatible default sanitizers

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 5 16:18:32 PST 2018

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()) {
Is this change needed to avoid errors at "Kinds & NeedsLTO" and KindsToDiagnose?
Could you create a test for this change?

  rC Clang


More information about the cfe-commits mailing list