15 #ifndef LLVM_PROFILEDATA_COVERAGEMAPPINGWRITER_H
16 #define LLVM_PROFILEDATA_COVERAGEMAPPINGWRITER_H
33 : Filenames(Filenames) {}
49 : VirtualFileMapping(VirtualFileMapping), Expressions(Expressions),
50 MappingRegions(MappingRegions) {}
Writer for instrumentation based coverage mapping data.
void write(raw_ostream &OS)
Write encoded coverage mapping data to the given output stream.
void write(raw_ostream &OS)
Write encoded filenames to the given output stream.
CoverageMappingWriter(ArrayRef< unsigned > VirtualFileMapping, ArrayRef< CounterExpression > Expressions, MutableArrayRef< CounterMappingRegion > MappingRegions)
CoverageFilenamesSectionWriter(ArrayRef< StringRef > Filenames)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
MutableArrayRef - Represent a mutable reference to an array (0 or more elements consecutively in memo...
Writer of the filenames section for the instrumentation based code coverage.
This class implements an extremely fast bulk output stream that can only output to a stream...