LLVM  8.0.1
Public Member Functions | Protected Attributes | List of all members
llvm::pdb::NativeTypeBuiltin Class Reference

#include "llvm/DebugInfo/PDB/Native/NativeTypeBuiltin.h"

Inheritance diagram for llvm::pdb::NativeTypeBuiltin:
Inheritance graph
[legend]
Collaboration diagram for llvm::pdb::NativeTypeBuiltin:
Collaboration graph
[legend]

Public Member Functions

 NativeTypeBuiltin (NativeSession &PDBSession, SymIndexId Id, codeview::ModifierOptions Mods, PDB_BuiltinType T, uint64_t L)
 
 ~NativeTypeBuiltin () override
 
void dump (raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
 
PDB_SymType getSymTag () const override
 
PDB_BuiltinType getBuiltinType () const override
 
bool isConstType () const override
 
uint64_t getLength () const override
 
bool isUnalignedType () const override
 
bool isVolatileType () const override
 
- Public Member Functions inherited from llvm::pdb::NativeRawSymbol
 NativeRawSymbol (NativeSession &PDBSession, PDB_SymType Tag, SymIndexId SymbolId)
 
std::unique_ptr< IPDBEnumSymbolsfindChildren (PDB_SymType Type) const override
 
std::unique_ptr< IPDBEnumSymbolsfindChildren (PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags) const override
 
std::unique_ptr< IPDBEnumSymbolsfindChildrenByAddr (PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t Section, uint32_t Offset) const override
 
std::unique_ptr< IPDBEnumSymbolsfindChildrenByVA (PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint64_t VA) const override
 
std::unique_ptr< IPDBEnumSymbolsfindChildrenByRVA (PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t RVA) const override
 
std::unique_ptr< IPDBEnumSymbolsfindInlineFramesByAddr (uint32_t Section, uint32_t Offset) const override
 
std::unique_ptr< IPDBEnumSymbolsfindInlineFramesByRVA (uint32_t RVA) const override
 
std::unique_ptr< IPDBEnumSymbolsfindInlineFramesByVA (uint64_t VA) const override
 
std::unique_ptr< IPDBEnumLineNumbersfindInlineeLines () const override
 
std::unique_ptr< IPDBEnumLineNumbersfindInlineeLinesByAddr (uint32_t Section, uint32_t Offset, uint32_t Length) const override
 
std::unique_ptr< IPDBEnumLineNumbersfindInlineeLinesByRVA (uint32_t RVA, uint32_t Length) const override
 
std::unique_ptr< IPDBEnumLineNumbersfindInlineeLinesByVA (uint64_t VA, uint32_t Length) const override
 
void getDataBytes (SmallVector< uint8_t, 32 > &Bytes) const override
 
void getFrontEndVersion (VersionInfo &Version) const override
 
void getBackEndVersion (VersionInfo &Version) const override
 
PDB_MemberAccess getAccess () const override
 
uint32_t getAddressOffset () const override
 
uint32_t getAddressSection () const override
 
uint32_t getAge () const override
 
SymIndexId getArrayIndexTypeId () const override
 
uint32_t getBaseDataOffset () const override
 
uint32_t getBaseDataSlot () const override
 
SymIndexId getBaseSymbolId () const override
 
uint32_t getBitPosition () const override
 
PDB_CallingConv getCallingConvention () const override
 
SymIndexId getClassParentId () const override
 
std::string getCompilerName () const override
 
uint32_t getCount () const override
 
uint32_t getCountLiveRanges () const override
 
PDB_Lang getLanguage () const override
 
SymIndexId getLexicalParentId () const override
 
std::string getLibraryName () const override
 
uint32_t getLiveRangeStartAddressOffset () const override
 
uint32_t getLiveRangeStartAddressSection () const override
 
uint32_t getLiveRangeStartRelativeVirtualAddress () const override
 
codeview::RegisterId getLocalBasePointerRegisterId () const override
 
SymIndexId getLowerBoundId () const override
 
uint32_t getMemorySpaceKind () const override
 
std::string getName () const override
 
uint32_t getNumberOfAcceleratorPointerTags () const override
 
uint32_t getNumberOfColumns () const override
 
uint32_t getNumberOfModifiers () const override
 
uint32_t getNumberOfRegisterIndices () const override
 
uint32_t getNumberOfRows () const override
 
std::string getObjectFileName () const override
 
uint32_t getOemId () const override
 
SymIndexId getOemSymbolId () const override
 
uint32_t getOffsetInUdt () const override
 
PDB_Cpu getPlatform () const override
 
uint32_t getRank () const override
 
codeview::RegisterId getRegisterId () const override
 
uint32_t getRegisterType () const override
 
uint32_t getRelativeVirtualAddress () const override
 
uint32_t getSamplerSlot () const override
 
uint32_t getSignature () const override
 
uint32_t getSizeInUdt () const override
 
uint32_t getSlot () const override
 
std::string getSourceFileName () const override
 
std::unique_ptr< IPDBLineNumbergetSrcLineOnTypeDefn () const override
 
uint32_t getStride () const override
 
SymIndexId getSubTypeId () const override
 
std::string getSymbolsFileName () const override
 
SymIndexId getSymIndexId () const override
 
uint32_t getTargetOffset () const override
 
uint32_t getTargetRelativeVirtualAddress () const override
 
uint64_t getTargetVirtualAddress () const override
 
uint32_t getTargetSection () const override
 
uint32_t getTextureSlot () const override
 
uint32_t getTimeStamp () const override
 
uint32_t getToken () const override
 
SymIndexId getTypeId () const override
 
uint32_t getUavSlot () const override
 
std::string getUndecoratedName () const override
 
std::string getUndecoratedNameEx (PDB_UndnameFlags Flags) const override
 
SymIndexId getUnmodifiedTypeId () const override
 
SymIndexId getUpperBoundId () const override
 
Variant getValue () const override
 
uint32_t getVirtualBaseDispIndex () const override
 
uint32_t getVirtualBaseOffset () const override
 
SymIndexId getVirtualTableShapeId () const override
 
std::unique_ptr< PDBSymbolTypeBuiltingetVirtualBaseTableType () const override
 
PDB_DataKind getDataKind () const override
 
codeview::GUID getGuid () const override
 
int32_t getOffset () const override
 
int32_t getThisAdjust () const override
 
int32_t getVirtualBasePointerOffset () const override
 
PDB_LocType getLocationType () const override
 
PDB_Machine getMachineType () const override
 
codeview::ThunkOrdinal getThunkOrdinal () const override
 
uint64_t getLiveRangeLength () const override
 
uint64_t getVirtualAddress () const override
 
PDB_UdtType getUdtKind () const override
 
bool hasConstructor () const override
 
bool hasCustomCallingConvention () const override
 
bool hasFarReturn () const override
 
bool isCode () const override
 
bool isCompilerGenerated () const override
 
bool isEditAndContinueEnabled () const override
 
bool isFunction () const override
 
bool getAddressTaken () const override
 
bool getNoStackOrdering () const override
 
bool hasAlloca () const override
 
bool hasAssignmentOperator () const override
 
bool hasCTypes () const override
 
bool hasCastOperator () const override
 
bool hasDebugInfo () const override
 
bool hasEH () const override
 
bool hasEHa () const override
 
bool hasInlAsm () const override
 
bool hasInlineAttribute () const override
 
bool hasInterruptReturn () const override
 
bool hasFramePointer () const override
 
bool hasLongJump () const override
 
bool hasManagedCode () const override
 
bool hasNestedTypes () const override
 
bool hasNoInlineAttribute () const override
 
bool hasNoReturnAttribute () const override
 
bool hasOptimizedCodeDebugInfo () const override
 
bool hasOverloadedOperator () const override
 
bool hasSEH () const override
 
bool hasSecurityChecks () const override
 
bool hasSetJump () const override
 
bool hasStrictGSCheck () const override
 
bool isAcceleratorGroupSharedLocal () const override
 
bool isAcceleratorPointerTagLiveRange () const override
 
bool isAcceleratorStubFunction () const override
 
bool isAggregated () const override
 
bool isIntroVirtualFunction () const override
 
bool isCVTCIL () const override
 
bool isConstructorVirtualBase () const override
 
bool isCxxReturnUdt () const override
 
bool isDataAligned () const override
 
bool isHLSLData () const override
 
bool isHotpatchable () const override
 
bool isIndirectVirtualBaseClass () const override
 
bool isInterfaceUdt () const override
 
bool isIntrinsic () const override
 
bool isLTCG () const override
 
bool isLocationControlFlowDependent () const override
 
bool isMSILNetmodule () const override
 
bool isMatrixRowMajor () const override
 
bool isManagedCode () const override
 
bool isMSILCode () const override
 
bool isMultipleInheritance () const override
 
bool isNaked () const override
 
bool isNested () const override
 
bool isOptimizedAway () const override
 
bool isPacked () const override
 
bool isPointerBasedOnSymbolValue () const override
 
bool isPointerToDataMember () const override
 
bool isPointerToMemberFunction () const override
 
bool isPureVirtual () const override
 
bool isRValueReference () const override
 
bool isRefUdt () const override
 
bool isReference () const override
 
bool isRestrictedType () const override
 
bool isReturnValue () const override
 
bool isSafeBuffers () const override
 
bool isScoped () const override
 
bool isSdl () const override
 
bool isSingleInheritance () const override
 
bool isSplitted () const override
 
bool isStatic () const override
 
bool hasPrivateSymbols () const override
 
bool isUnreached () const override
 
bool isValueUdt () const override
 
bool isVirtual () const override
 
bool isVirtualBaseClass () const override
 
bool isVirtualInheritance () const override
 
bool wasInlined () const override
 
std::string getUnused () const override
 
- Public Member Functions inherited from llvm::pdb::IPDBRawSymbol
virtual ~IPDBRawSymbol ()
 

Protected Attributes

NativeSessionSession
 
codeview::ModifierOptions Mods
 
PDB_BuiltinType Type
 
uint64_t Length
 
- Protected Attributes inherited from llvm::pdb::NativeRawSymbol
NativeSessionSession
 
PDB_SymType Tag
 
SymIndexId SymbolId
 

Detailed Description

Definition at line 22 of file NativeTypeBuiltin.h.

Constructor & Destructor Documentation

◆ NativeTypeBuiltin()

NativeTypeBuiltin::NativeTypeBuiltin ( NativeSession PDBSession,
SymIndexId  Id,
codeview::ModifierOptions  Mods,
PDB_BuiltinType  T,
uint64_t  L 
)

Definition at line 17 of file NativeTypeBuiltin.cpp.

References llvm::pdb::BuiltinType.

◆ ~NativeTypeBuiltin()

NativeTypeBuiltin::~NativeTypeBuiltin ( )
override

Definition at line 23 of file NativeTypeBuiltin.cpp.

Member Function Documentation

◆ dump()

void NativeTypeBuiltin::dump ( raw_ostream OS,
int  Indent,
PdbSymbolIdField  ShowIdFields,
PdbSymbolIdField  RecurseIdFields 
) const
overridevirtual

Reimplemented from llvm::pdb::NativeRawSymbol.

Definition at line 25 of file NativeTypeBuiltin.cpp.

◆ getBuiltinType()

PDB_BuiltinType NativeTypeBuiltin::getBuiltinType ( ) const
overridevirtual

Reimplemented from llvm::pdb::NativeRawSymbol.

Definition at line 33 of file NativeTypeBuiltin.cpp.

References Type.

Referenced by llvm::pdb::NativeSymbolEnumerator::getValue().

◆ getLength()

uint64_t NativeTypeBuiltin::getLength ( ) const
overridevirtual

Reimplemented from llvm::pdb::NativeRawSymbol.

Definition at line 39 of file NativeTypeBuiltin.cpp.

References Length.

Referenced by llvm::pdb::NativeSymbolEnumerator::getValue().

◆ getSymTag()

PDB_SymType NativeTypeBuiltin::getSymTag ( ) const
overridevirtual

Reimplemented from llvm::pdb::NativeRawSymbol.

Definition at line 29 of file NativeTypeBuiltin.cpp.

References llvm::pdb::BuiltinType.

◆ isConstType()

bool NativeTypeBuiltin::isConstType ( ) const
overridevirtual

Reimplemented from llvm::pdb::NativeRawSymbol.

Definition at line 35 of file NativeTypeBuiltin.cpp.

References Mods, and llvm::pdb::None.

◆ isUnalignedType()

bool NativeTypeBuiltin::isUnalignedType ( ) const
overridevirtual

Reimplemented from llvm::pdb::NativeRawSymbol.

Definition at line 41 of file NativeTypeBuiltin.cpp.

References Mods, and llvm::pdb::None.

◆ isVolatileType()

bool NativeTypeBuiltin::isVolatileType ( ) const
overridevirtual

Reimplemented from llvm::pdb::NativeRawSymbol.

Definition at line 45 of file NativeTypeBuiltin.cpp.

References Mods, and llvm::pdb::None.

Member Data Documentation

◆ Length

uint64_t llvm::pdb::NativeTypeBuiltin::Length
protected

Definition at line 44 of file NativeTypeBuiltin.h.

Referenced by getLength().

◆ Mods

codeview::ModifierOptions llvm::pdb::NativeTypeBuiltin::Mods
protected

Definition at line 42 of file NativeTypeBuiltin.h.

Referenced by isConstType(), isUnalignedType(), and isVolatileType().

◆ Session

NativeSession& llvm::pdb::NativeTypeBuiltin::Session
protected

Definition at line 41 of file NativeTypeBuiltin.h.

◆ Type

PDB_BuiltinType llvm::pdb::NativeTypeBuiltin::Type
protected

Definition at line 43 of file NativeTypeBuiltin.h.

Referenced by getBuiltinType().


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