LLVM 20.0.0git
|
Writer for the coverage mapping testing format. More...
#include "llvm/ProfileData/Coverage/CoverageMappingWriter.h"
Public Member Functions | |
TestingFormatWriter (uint64_t ProfileNamesAddr, StringRef ProfileNamesData, StringRef CoverageMappingData, StringRef CoverageRecordsData) | |
void | write (raw_ostream &OS, TestingFormatVersion Version=TestingFormatVersion::CurrentVersion) |
Encode to the given output stream. | |
Writer for the coverage mapping testing format.
Definition at line 58 of file CoverageMappingWriter.h.
|
inline |
Definition at line 65 of file CoverageMappingWriter.h.
void TestingFormatWriter::write | ( | raw_ostream & | OS, |
TestingFormatVersion | Version = TestingFormatVersion::CurrentVersion |
||
) |
Encode to the given output stream.
Definition at line 294 of file CoverageMappingWriter.cpp.
References llvm::encodeULEB128(), N, llvm::offsetToAlignment(), OS, llvm::StringRef::size(), llvm::raw_ostream::tell(), llvm::coverage::TestingFormatMagic, llvm::Version, llvm::coverage::Version2, and llvm::raw_ostream::write().