r351241 - CodeGen: Remove debug printf unintentionally added in r351228.

Anton Korobeynikov via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 15 13:31:38 PST 2019


Thanks!

On Wed, Jan 16, 2019 at 12:03 AM Peter Collingbourne via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> Author: pcc
> Date: Tue Jan 15 12:59:59 2019
> New Revision: 351241
>
> URL: http://llvm.org/viewvc/llvm-project?rev=351241&view=rev
> Log:
> CodeGen: Remove debug printf unintentionally added in r351228.
>
> Modified:
>     cfe/trunk/lib/CodeGen/CodeGenModule.cpp
>
> Modified: cfe/trunk/lib/CodeGen/CodeGenModule.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenModule.cpp?rev=351241&r1=351240&r2=351241&view=diff
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CodeGenModule.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CodeGenModule.cpp Tue Jan 15 12:59:59 2019
> @@ -137,12 +137,10 @@ CodeGenModule::CodeGenModule(ASTContext
>
>    // Enable TBAA unless it's suppressed. ThreadSanitizer needs TBAA even at O0.
>    if (LangOpts.Sanitize.has(SanitizerKind::Thread) ||
> -      (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0)) {
> -    fprintf(stderr, "TBAA enabled\n");
> +      (!CodeGenOpts.RelaxedAliasing && CodeGenOpts.OptimizationLevel > 0))
>      TBAA.reset(new CodeGenTBAA(Context, TheModule, CodeGenOpts, getLangOpts(),
>                                 getCXXABI().getMangleContext()));
> -  }
> -
> +
>    // If debug info or coverage generation is enabled, create the CGDebugInfo
>    // object.
>    if (CodeGenOpts.getDebugInfo() != codegenoptions::NoDebugInfo ||
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits



-- 
With best regards, Anton Korobeynikov
Department of Statistical Modelling, Saint Petersburg State University


More information about the cfe-commits mailing list