LLVM: llvm::codeview::CVRecord< Kind > Class Template Reference (original) (raw)

CVRecord is a fat pointer (base + size pair) to a symbol or type record. More...

#include "[llvm/DebugInfo/CodeView/CVRecord.h](CVRecord%5F8h%5Fsource.html)"

Inheritance diagram for llvm::codeview::CVRecord< Kind >:

Public Member Functions
CVRecord ()=default
CVRecord (ArrayRef< uint8_t > Data)
CVRecord (const RecordPrefix *P, size_t Size)
bool valid () const
uint32_t length () const
Kind kind () const
ArrayRef< uint8_t > data () const
StringRef str_data () const
ArrayRef< uint8_t > content () const

Detailed Description

template
class llvm::codeview::CVRecord< Kind >

CVRecord is a fat pointer (base + size pair) to a symbol or type record.

Carrying the size separately instead of trusting the size stored in the record prefix provides some extra safety and flexibility.

Definition at line 29 of file CVRecord.h.

Constructor & Destructor Documentation

CVRecord() [1/3]

CVRecord() [2/3]

CVRecord() [3/3]

Member Function Documentation

content()

data()

Definition at line 42 of file CVRecord.h.

Referenced by createRecord(), llvm::codeview::TypeDeserializer::deserializeAs(), llvm::codeview::discoverTypeIndicesInSymbol(), llvm::pdb::TpiStream::findFullDeclForForwardRef(), llvm::pdb::SymbolCache::findSymbolByTypeIndex(), llvm::CodeViewYAML::detail::UnknownSymbolRecord::fromCodeViewSymbol(), llvm::codeview::getModifiedType(), llvm::pdb::NativeInlineSiteSymbol::getName(), llvm::pdb::SymbolCache::getOrCreateGlobalSymbolByOffset(), llvm::logicalview::getRecordName(), llvm::codeview::getScopeEndOffset(), llvm::codeview::getScopeParentOffset(), llvm::codeview::getSizeInBytesForTypeRecord(), llvm::codeview::getSymbolName(), getSymbolNameOffset(), llvm::pdb::hashTypeRecord(), llvm::codeview::isAggregate(), llvm::codeview::isUdtForwardRef(), llvm::codeview::limitSymbolArrayToScope(), llvm::pdb::NativeEnumGlobals::NativeEnumGlobals(), llvm::pdb::NativeEnumTypes::NativeEnumTypes(), llvm::codeview::SimpleTypeSerializer::serialize(), llvm::codeview::CVRecord< TypeLeafKind >::valid(), llvm::logicalview::LVLogicalVisitor::visitKnownRecord(), llvm::logicalview::LVLogicalVisitor::visitKnownRecord(), llvm::codeview::CVSymbolVisitor::visitSymbolStreamFiltered(), llvm::codeview::TypeRecordMapping::visitTypeBegin(), and llvm::codeview::TypeRecordMapping::visitTypeBegin().

length()

str_data()

valid()

Member Data Documentation

RecordData


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