clang  3.9.0
Public Types | Public Member Functions | List of all members
clang::VTableLayout Class Reference

#include <VTableBuilder.h>

Public Types

typedef std::pair< uint64_t,
ThunkInfo
VTableThunkTy
 
typedef const VTableComponentvtable_component_iterator
 
typedef const VTableThunkTyvtable_thunk_iterator
 
typedef llvm::iterator_range
< vtable_component_iterator
vtable_component_range
 
typedef llvm::DenseMap
< BaseSubobject, uint64_t > 
AddressPointsMapTy
 

Public Member Functions

 VTableLayout (uint64_t NumVTableComponents, const VTableComponent *VTableComponents, uint64_t NumVTableThunks, const VTableThunkTy *VTableThunks, const AddressPointsMapTy &AddressPoints, bool IsMicrosoftABI)
 
 ~VTableLayout ()
 
uint64_t getNumVTableComponents () const
 
vtable_component_range vtable_components () const
 
vtable_component_iterator vtable_component_begin () const
 
vtable_component_iterator vtable_component_end () const
 
uint64_t getNumVTableThunks () const
 
vtable_thunk_iterator vtable_thunk_begin () const
 
vtable_thunk_iterator vtable_thunk_end () const
 
uint64_t getAddressPoint (BaseSubobject Base) const
 
const AddressPointsMapTygetAddressPoints () const
 

Detailed Description

Definition at line 219 of file VTableBuilder.h.

Member Typedef Documentation

typedef llvm::DenseMap<BaseSubobject, uint64_t> clang::VTableLayout::AddressPointsMapTy

Definition at line 228 of file VTableBuilder.h.

Definition at line 223 of file VTableBuilder.h.

Definition at line 226 of file VTableBuilder.h.

Definition at line 224 of file VTableBuilder.h.

typedef std::pair<uint64_t, ThunkInfo> clang::VTableLayout::VTableThunkTy

Definition at line 221 of file VTableBuilder.h.

Constructor & Destructor Documentation

VTableLayout::VTableLayout ( uint64_t  NumVTableComponents,
const VTableComponent VTableComponents,
uint64_t  NumVTableThunks,
const VTableThunkTy VTableThunks,
const AddressPointsMapTy AddressPoints,
bool  IsMicrosoftABI 
)

Definition at line 2206 of file VTableBuilder.cpp.

VTableLayout::~VTableLayout ( )

Definition at line 2232 of file VTableBuilder.cpp.

Member Function Documentation

uint64_t clang::VTableLayout::getAddressPoint ( BaseSubobject  Base) const
inline
const AddressPointsMapTy& clang::VTableLayout::getAddressPoints ( ) const
inline
uint64_t clang::VTableLayout::getNumVTableComponents ( ) const
inline

Definition at line 252 of file VTableBuilder.h.

uint64_t clang::VTableLayout::getNumVTableThunks ( ) const
inline

Definition at line 269 of file VTableBuilder.h.

vtable_component_iterator clang::VTableLayout::vtable_component_begin ( ) const
inline

Definition at line 261 of file VTableBuilder.h.

Referenced by vtable_components().

vtable_component_iterator clang::VTableLayout::vtable_component_end ( ) const
inline

Definition at line 265 of file VTableBuilder.h.

Referenced by vtable_components().

vtable_component_range clang::VTableLayout::vtable_components ( ) const
inline

Definition at line 256 of file VTableBuilder.h.

References vtable_component_begin(), and vtable_component_end().

vtable_thunk_iterator clang::VTableLayout::vtable_thunk_begin ( ) const
inline

Definition at line 271 of file VTableBuilder.h.

vtable_thunk_iterator clang::VTableLayout::vtable_thunk_end ( ) const
inline

Definition at line 275 of file VTableBuilder.h.


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