class CoverageFilenamesSectionWriter
Declaration
class CoverageFilenamesSectionWriter { /* full declaration omitted */ };
Description
Writer of the filenames section for the instrumentation based code coverage.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h:29
Member Variables
- private ArrayRef<std::string> Filenames
Method Overview
- public CoverageFilenamesSectionWriter(ArrayRef<std::string> Filenames)
- public void write(llvm::raw_ostream & OS, bool Compress = true)
Methods
¶CoverageFilenamesSectionWriter(
ArrayRef<std::string> Filenames)
CoverageFilenamesSectionWriter(
ArrayRef<std::string> Filenames)
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h:33
Parameters
- ArrayRef<std::string> Filenames
¶void write(llvm::raw_ostream& OS,
bool Compress = true)
void write(llvm::raw_ostream& OS,
bool Compress = true)
Description
Write encoded filenames to the given output stream. If \p Compress is true, attempt to compress the filenames.
Declared at: llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h:37
Parameters
- llvm::raw_ostream& OS
- bool Compress = true