rsmith added a subscriber: rsmith. ================ Comment at: lib/CodeGen/CodeGenModule.cpp:380-381 @@ -379,1 +379,4 @@ + // In PGO mode, attach maximum function count to the module. + if (PGOReader) + getModule().setMaximumFunctionCount(PGOReader->getMaximumFunctionCount()); EmitCtorList(GlobalCtors, "llvm.global_ctors"); ---------------- Can you add a test for this to clang's test/CodeGen?
Repository: rL LLVM http://reviews.llvm.org/D15163 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits