]> granicus.if.org Git - clang/commitdiff
CodeGen: Remove debug printf unintentionally added in r351228.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 20:59:59 +0000 (20:59 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 20:59:59 +0000 (20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351241 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CodeGenModule.cpp

index af8dcb2bdf457b7cb48b18fafcfbdff684e6f799..244738042cef0971b6f798f2240b0381a33c65ac 100644 (file)
@@ -137,12 +137,10 @@ CodeGenModule::CodeGenModule(ASTContext &C, const HeaderSearchOptions &HSO,
 
   // 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 ||