projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70f2a73
)
InstrProf: Use the stream when dumping counters
author
Justin Bogner
<mail@justinbogner.com>
Fri, 23 Jan 2015 23:46:13 +0000
(23:46 +0000)
committer
Justin Bogner
<mail@justinbogner.com>
Fri, 23 Jan 2015 23:46:13 +0000
(23:46 +0000)
llvm-svn: 226968
clang/lib/CodeGen/CoverageMappingGen.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CoverageMappingGen.cpp
b/clang/lib/CodeGen/CoverageMappingGen.cpp
index
6f159d4
..
f65b16c
100644
(file)
--- a/
clang/lib/CodeGen/CoverageMappingGen.cpp
+++ b/
clang/lib/CodeGen/CoverageMappingGen.cpp
@@
-1028,7
+1028,7
@@
static void dump(llvm::raw_ostream &OS, const CoverageMappingRecord &Function) {
OS << "File " << R.FileID << ", " << R.LineStart << ":"
<< R.ColumnStart << " -> " << R.LineEnd << ":" << R.ColumnEnd
<< " = ";
- Ctx.dump(R.Count);
+ Ctx.dump(R.Count
, OS
);
OS << " (HasCodeBefore = " << R.HasCodeBefore;
if (R.Kind == CounterMappingRegion::ExpansionRegion)
OS << ", Expanded file = " << R.ExpandedFileID;