LLVM 22.0.0git
|
#include "llvm/DebugInfo/PDB/UDTLayout.h"
Public Member Functions | |
LLVM_ABI | DataMemberLayoutItem (const UDTLayoutBase &Parent, std::unique_ptr< PDBSymbolData > DataMember) |
LLVM_ABI const PDBSymbolData & | getDataMember () |
LLVM_ABI bool | hasUDTLayout () const |
LLVM_ABI const ClassLayout & | getUDTLayout () const |
Public Member Functions inherited from llvm::pdb::LayoutItemBase | |
LayoutItemBase (const UDTLayoutBase *Parent, const PDBSymbol *Symbol, const std::string &Name, uint32_t OffsetInParent, uint32_t Size, bool IsElided) | |
virtual | ~LayoutItemBase ()=default |
uint32_t | deepPaddingSize () const |
virtual uint32_t | immediatePadding () const |
virtual uint32_t | tailPadding () const |
const UDTLayoutBase * | getParent () const |
StringRef | getName () const |
uint32_t | getOffsetInParent () const |
uint32_t | getSize () const |
uint32_t | getLayoutSize () const |
const PDBSymbol * | getSymbol () const |
const BitVector & | usedBytes () const |
bool | isElided () const |
virtual bool | isVBPtr () const |
uint32_t | containsOffset (uint32_t Off) const |
Additional Inherited Members | |
Protected Attributes inherited from llvm::pdb::LayoutItemBase | |
const PDBSymbol * | Symbol = nullptr |
const UDTLayoutBase * | Parent = nullptr |
BitVector | UsedBytes |
std::string | Name |
uint32_t | OffsetInParent = 0 |
uint32_t | SizeOf = 0 |
uint32_t | LayoutSize = 0 |
bool | IsElided = false |
Definition at line 86 of file UDTLayout.h.
DataMemberLayoutItem::DataMemberLayoutItem | ( | const UDTLayoutBase & | Parent, |
std::unique_ptr< PDBSymbolData > | DataMember ) |
Definition at line 69 of file UDTLayout.cpp.
References llvm::get(), llvm::pdb::LayoutItemBase::getName(), llvm::getOffset(), getTypeLength(), llvm::pdb::LayoutItemBase::LayoutItemBase(), llvm::pdb::Member, llvm::move(), llvm::pdb::LayoutItemBase::Parent, llvm::pdb::Type, llvm::pdb::UDT, llvm::unique_dyn_cast(), and llvm::pdb::LayoutItemBase::UsedBytes.
const PDBSymbolData & DataMemberLayoutItem::getDataMember | ( | ) |
Definition at line 88 of file UDTLayout.cpp.
References llvm::cast(), and llvm::pdb::LayoutItemBase::Symbol.
const ClassLayout & DataMemberLayoutItem::getUDTLayout | ( | ) | const |
Definition at line 94 of file UDTLayout.cpp.
bool DataMemberLayoutItem::hasUDTLayout | ( | ) | const |
Definition at line 92 of file UDTLayout.cpp.