llvm::IndexedCodeGenDataReader

Reader for binary (indexed) codegen data.

Synopsis

Declared in <llvm/CGData/CodeGenDataReader.h>

class IndexedCodeGenDataReader
    : public CodeGenDataReader

Base Classes

NameDescription
CodeGenDataReaderAbstract base class for reading codegen data from binary or text sources.

Member Functions

NameDescription
IndexedCodeGenDataReader [constructor]Constructors
operator= [deleted]Deleted copy assignment operator.
getDataKind [virtual]Return the codegen data kind.
getVersion [virtual]Return the codegen data version.
hasOutlinedHashTree [virtual]Return true if the header indicates the data has an outlined hash tree. This does not mean that the data is still available.
hasStableFunctionMap [virtual]Return true if the header indicates the data has a stable function map.
read [virtual]Read the contents including the header.
releaseOutlinedHashTree Return the outlined hash tree that is released from the reader.
releaseStableFunctionMap Return the stable function map that is released from the reader.

Static Member Functions

NameDescription
create create overloads
hasFormat Return true if the given buffer is in binary codegen data format.
mergeFromObjectFile Extract cgdata from object-file sections and merge into global records.

Protected Member Functions

NameDescription
error error overloads
success Clear the current error and return a successful one.

Protected Data Members

NameDescription
FunctionMapRecord The stable function map that has been read. When it's released by
HashTreeRecord The outlined hash tree that has been read. When it's released by releaseOutlinedHashTree(), it's no longer valid.