LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::codeview::VFTableRecord Class Reference

#include <TypeRecord.h>

Inheritance diagram for llvm::codeview::VFTableRecord:
[legend]
Collaboration diagram for llvm::codeview::VFTableRecord:
[legend]

Public Member Functions

 VFTableRecord (TypeRecordKind Kind)
 
 VFTableRecord (TypeIndex CompleteClass, TypeIndex OverriddenVFTable, uint32_t VFPtrOffset, StringRef Name, ArrayRef< StringRef > Methods)
 
bool remapTypeIndices (ArrayRef< TypeIndex > IndexMap)
 Rewrite member type indices with IndexMap. More...
 
TypeIndex getCompleteClass () const
 
TypeIndex getOverriddenVTable () const
 
uint32_t getVFPtrOffset () const
 
StringRef getName () const
 
ArrayRef< StringRefgetMethodNames () const
 
- Public Member Functions inherited from llvm::codeview::TypeRecord
TypeRecordKind getKind () const
 

Public Attributes

TypeIndex CompleteClass
 
TypeIndex OverriddenVFTable
 
uint32_t VFPtrOffset
 
std::vector< StringRefMethodNames
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::codeview::TypeRecord
 TypeRecord ()=default
 
 TypeRecord (TypeRecordKind Kind)
 

Detailed Description

Definition at line 684 of file TypeRecord.h.

Constructor & Destructor Documentation

llvm::codeview::VFTableRecord::VFTableRecord ( TypeRecordKind  Kind)
inlineexplicit

Definition at line 686 of file TypeRecord.h.

llvm::codeview::VFTableRecord::VFTableRecord ( TypeIndex  CompleteClass,
TypeIndex  OverriddenVFTable,
uint32_t  VFPtrOffset,
StringRef  Name,
ArrayRef< StringRef Methods 
)
inline

Member Function Documentation

TypeIndex llvm::codeview::VFTableRecord::getCompleteClass ( ) const
inline

Definition at line 700 of file TypeRecord.h.

References CompleteClass.

ArrayRef<StringRef> llvm::codeview::VFTableRecord::getMethodNames ( ) const
inline

Definition at line 704 of file TypeRecord.h.

References llvm::makeArrayRef(), and MethodNames.

StringRef llvm::codeview::VFTableRecord::getName ( ) const
inline

Definition at line 703 of file TypeRecord.h.

References llvm::makeArrayRef(), and MethodNames.

TypeIndex llvm::codeview::VFTableRecord::getOverriddenVTable ( ) const
inline

Definition at line 701 of file TypeRecord.h.

References OverriddenVFTable.

uint32_t llvm::codeview::VFTableRecord::getVFPtrOffset ( ) const
inline

Definition at line 702 of file TypeRecord.h.

References VFPtrOffset.

bool VFTableRecord::remapTypeIndices ( ArrayRef< TypeIndex IndexMap)

Rewrite member type indices with IndexMap.

Returns false if a type index is not in the map.

Definition at line 159 of file TypeRecord.cpp.

References CompleteClass, OverriddenVFTable, remapIndex(), and Success.

Member Data Documentation

TypeIndex llvm::codeview::VFTableRecord::CompleteClass

Definition at line 708 of file TypeRecord.h.

Referenced by getCompleteClass(), and remapTypeIndices().

std::vector<StringRef> llvm::codeview::VFTableRecord::MethodNames

Definition at line 711 of file TypeRecord.h.

Referenced by getMethodNames(), getName(), and VFTableRecord().

TypeIndex llvm::codeview::VFTableRecord::OverriddenVFTable

Definition at line 709 of file TypeRecord.h.

Referenced by getOverriddenVTable(), and remapTypeIndices().

uint32_t llvm::codeview::VFTableRecord::VFPtrOffset

Definition at line 710 of file TypeRecord.h.

Referenced by getVFPtrOffset().


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