Revert r254647.
Reason: The testcase fails in many architectures. Differential Revision: http://reviews.llvm.org/D15163 llvm-svn: 255416
This commit is contained in:
@@ -376,9 +376,6 @@ void CodeGenModule::Release() {
|
||||
}
|
||||
if (PGOReader && PGOStats.hasDiagnostics())
|
||||
PGOStats.reportDiagnostics(getDiags(), getCodeGenOpts().MainFileName);
|
||||
// In PGO mode, attach maximum function count to the module.
|
||||
if (PGOReader)
|
||||
getModule().setMaximumFunctionCount(PGOReader->getMaximumFunctionCount());
|
||||
EmitCtorList(GlobalCtors, "llvm.global_ctors");
|
||||
EmitCtorList(GlobalDtors, "llvm.global_dtors");
|
||||
EmitGlobalAnnotations();
|
||||
|
||||
Reference in New Issue
Block a user