r351241 - CodeGen: Remove debug printf unintentionally added in r351228.
Peter Collingbourne via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 15 13:00:00 PST 2019
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 ||
More information about the cfe-commits
mailing list