LLVM
8.0.1
|
Reader for the coverage mapping data that is emitted by the frontend and stored in an object file. More...
#include "llvm/ProfileData/Coverage/CoverageMappingReader.h"
Classes | |
struct | ProfileMappingRecord |
Public Member Functions | |
BinaryCoverageReader (const BinaryCoverageReader &)=delete | |
BinaryCoverageReader & | operator= (const BinaryCoverageReader &)=delete |
Error | readNextRecord (CoverageMappingRecord &Record) override |
Public Member Functions inherited from llvm::coverage::CoverageMappingReader | |
virtual | ~CoverageMappingReader ()=default |
CoverageMappingIterator | begin () |
CoverageMappingIterator | end () |
Static Public Member Functions | |
static Expected< std::unique_ptr< BinaryCoverageReader > > | create (std::unique_ptr< MemoryBuffer > &ObjectBuffer, StringRef Arch) |
Reader for the coverage mapping data that is emitted by the frontend and stored in an object file.
Definition at line 174 of file CoverageMappingReader.h.
|
delete |
|
static |
Definition at line 685 of file CoverageMappingReader.cpp.
References llvm::support::big, llvm::consumeError(), E, llvm::support::little, loadBinaryFormat(), loadTestingFormat(), llvm::coverage::malformed, and llvm::Error::success().
Referenced by llvm::coverage::CoverageMapping::load().
|
delete |
|
overridevirtual |
Implements llvm::coverage::CoverageMappingReader.
Definition at line 727 of file CoverageMappingReader.cpp.
References llvm::coverage::eof, Expressions, and llvm::makeArrayRef().