LLVM
8.0.1
|
Writer of the filenames section for the instrumentation based code coverage. More...
#include "llvm/ProfileData/Coverage/CoverageMappingWriter.h"
Public Member Functions | |
CoverageFilenamesSectionWriter (ArrayRef< StringRef > Filenames) | |
void | write (raw_ostream &OS) |
Write encoded filenames to the given output stream. More... | |
Writer of the filenames section for the instrumentation based code coverage.
Definition at line 30 of file CoverageMappingWriter.h.
|
inline |
Definition at line 34 of file CoverageMappingWriter.h.
References write().
void CoverageFilenamesSectionWriter::write | ( | raw_ostream & | OS | ) |
Write encoded filenames to the given output stream.
Definition at line 28 of file CoverageMappingWriter.cpp.
References C, E, llvm::encodeULEB128(), Expressions, llvm::coverage::Counter::getExpression(), llvm::coverage::Counter::getExpressionID(), I, llvm::coverage::Counter::isExpression(), llvm::SmallVectorTemplateBase< T >::push_back(), llvm::SmallVectorBase::size(), and llvm::ArrayRef< T >::size().
Referenced by CoverageFilenamesSectionWriter(), and llvm::coverage::CoverageMappingWriter::CoverageMappingWriter().