diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-10-02 16:15:37 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-10-02 16:15:37 +0000 |
| commit | 1c4fb4600da6e64234c6933dcc9c9cf5de5b14ad (patch) | |
| tree | 1a6967c59fad53cfc1dc265b94cb4eed73fec93a /clang/lib/CodeGen/CodeGenPGO.cpp | |
| parent | 70b5c562ce0c9c5d706f4f8c09b5f3528914e838 (diff) | |
| download | bcm5719-llvm-1c4fb4600da6e64234c6933dcc9c9cf5de5b14ad.tar.gz bcm5719-llvm-1c4fb4600da6e64234c6933dcc9c9cf5de5b14ad.zip | |
Revert "InstrProf: Update for the LLVM API change in r218879"
r218879 has been reverted for now, this needs to go to match.
This reverts commit r218880.
llvm-svn: 218882
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenPGO.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp index 2f1f211b72c..d341baf523c 100644 --- a/clang/lib/CodeGen/CodeGenPGO.cpp +++ b/clang/lib/CodeGen/CodeGenPGO.cpp @@ -908,7 +908,8 @@ void CodeGenPGO::emitCounterRegionMapping(const Decl *D) { llvm::raw_string_ostream OS(CoverageMapping); CoverageMappingGen MappingGen(*CGM.getCoverageMapping(), CGM.getContext().getSourceManager(), - CGM.getLangOpts(), RegionCounterMap.get()); + CGM.getLangOpts(), RegionCounterMap.get(), + NumRegionCounters); MappingGen.emitCounterMapping(D, OS); OS.flush(); } |

