diff options
Diffstat (limited to 'llvm/lib/ProfileData/InstrProfWriter.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProfWriter.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp index 1c97b1ad0d3..f9cc2afe3da 100644 --- a/llvm/lib/ProfileData/InstrProfWriter.cpp +++ b/llvm/lib/ProfileData/InstrProfWriter.cpp @@ -173,7 +173,10 @@ void InstrProfWriter::write(raw_fd_ostream &OS) { void InstrProfWriter::writeRecordInText(const InstrProfRecord &Func, raw_fd_ostream &OS) { - OS << Func.Name << "\n" << Func.Hash << "\n" << Func.Counts.size() << "\n"; + OS << Func.Name << "\n"; + OS << "# Func Hash:\n" << Func.Hash << "\n"; + OS << "# Num Counters:\n" <<Func.Counts.size() << "\n"; + OS << "# Counter Values:\n"; for (uint64_t Count : Func.Counts) OS << Count << "\n"; |