InstrProf: Update for the LLVM API change in r218879
llvm-svn: 218880
This commit is contained in:
@@ -908,8 +908,7 @@ void CodeGenPGO::emitCounterRegionMapping(const Decl *D) {
|
||||
llvm::raw_string_ostream OS(CoverageMapping);
|
||||
CoverageMappingGen MappingGen(*CGM.getCoverageMapping(),
|
||||
CGM.getContext().getSourceManager(),
|
||||
CGM.getLangOpts(), RegionCounterMap.get(),
|
||||
NumRegionCounters);
|
||||
CGM.getLangOpts(), RegionCounterMap.get());
|
||||
MappingGen.emitCounterMapping(D, OS);
|
||||
OS.flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user