LLVM 22.0.0git
llvm::coverage::CoverageFilenamesSectionWriter Class Reference

Writer of the filenames section for the instrumentation based code coverage. More...

#include "llvm/ProfileData/Coverage/CoverageMappingWriter.h"

Public Member Functions

LLVM_ABI CoverageFilenamesSectionWriter (ArrayRef< std::string > Filenames)
LLVM_ABI void write (raw_ostream &OS, bool Compress=true)
 Write encoded filenames to the given output stream.

Detailed Description

Writer of the filenames section for the instrumentation based code coverage.

Definition at line 30 of file CoverageMappingWriter.h.

Constructor & Destructor Documentation

◆ CoverageFilenamesSectionWriter()

CoverageFilenamesSectionWriter::CoverageFilenamesSectionWriter ( ArrayRef< std::string > Filenames)

Definition at line 29 of file CoverageMappingWriter.cpp.

References assert(), and llvm::StringSet< AllocatorTy >::insert().

Member Function Documentation

◆ write()

void CoverageFilenamesSectionWriter::write ( raw_ostream & OS,
bool Compress = true )

The documentation for this class was generated from the following files: