mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
InstrProf: Use the stream when dumping counters
llvm-svn: 226968
This commit is contained in:
parent
70f2a736db
commit
f69dc349d5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user