LLVM  9.0.0svn
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::coverage::BinaryCoverageReader Class Reference

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"

Inheritance diagram for llvm::coverage::BinaryCoverageReader:
Inheritance graph
[legend]
Collaboration diagram for llvm::coverage::BinaryCoverageReader:
Collaboration graph
[legend]

Classes

struct  ProfileMappingRecord
 

Public Member Functions

 BinaryCoverageReader (const BinaryCoverageReader &)=delete
 
BinaryCoverageReaderoperator= (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::vector< std::unique_ptr< BinaryCoverageReader > > > create (MemoryBufferRef ObjectBuffer, StringRef Arch, SmallVectorImpl< std::unique_ptr< MemoryBuffer >> &ObjectFileBuffers)
 
static Expected< std::unique_ptr< BinaryCoverageReader > > createCoverageReaderFromBuffer (StringRef Coverage, InstrProfSymtab &&ProfileNames, uint8_t BytesInAddress, support::endianness Endian)
 

Detailed Description

Reader for the coverage mapping data that is emitted by the frontend and stored in an object file.

Definition at line 173 of file CoverageMappingReader.h.

Constructor & Destructor Documentation

◆ BinaryCoverageReader()

llvm::coverage::BinaryCoverageReader::BinaryCoverageReader ( const BinaryCoverageReader )
delete

Member Function Documentation

◆ create()

Expected< std::vector< std::unique_ptr< BinaryCoverageReader > > > BinaryCoverageReader::create ( MemoryBufferRef  ObjectBuffer,
StringRef  Arch,
SmallVectorImpl< std::unique_ptr< MemoryBuffer >> &  ObjectFileBuffers 
)
static

◆ createCoverageReaderFromBuffer()

Expected< std::unique_ptr< BinaryCoverageReader > > BinaryCoverageReader::createCoverageReaderFromBuffer ( StringRef  Coverage,
InstrProfSymtab &&  ProfileNames,
uint8_t  BytesInAddress,
support::endianness  Endian 
)
static

◆ operator=()

BinaryCoverageReader& llvm::coverage::BinaryCoverageReader::operator= ( const BinaryCoverageReader )
delete

◆ readNextRecord()

Error BinaryCoverageReader::readNextRecord ( CoverageMappingRecord Record)
overridevirtual

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