LLVM: include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_PDB_DIA_DIARAWSYMBOL_H

10#define LLVM_DEBUGINFO_PDB_DIA_DIARAWSYMBOL_H

11

14

15namespace llvm {

16namespace pdb {

19public:

21

24

25 CComPtr getDiaSymbol() const { return Symbol; }

26

27 std::unique_ptr

29 std::unique_ptr

32 std::unique_ptr

36 std::unique_ptr

39 std::unique_ptr

42

43 std::unique_ptr

45 std::unique_ptr

47 std::unique_ptr

49

50 std::unique_ptr findInlineeLines() const override;

51 std::unique_ptr

54 std::unique_ptr

56 std::unique_ptr

58

86 std::string getName() const override;

128 std::unique_ptr

133 int32_t getOffset() const override;

146 bool isCode() const override;

158 bool hasEH() const override;

159 bool hasEHa() const override;

171 bool hasSEH() const override;

180 bool isCVTCIL() const override;

189 bool isLTCG() const override;

196 bool isNaked() const override;

197 bool isNested() const override;

199 bool isPacked() const override;

205 bool isRefUdt() const override;

210 bool isScoped() const override;

211 bool isSdl() const override;

214 bool isStatic() const override;

224 std::string getUnused() const override;

225

226private:

228 CComPtr Symbol;

229};

230}

231}

232

233#endif

This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.

StringRef - Represent a constant reference to a string, i.e.

uint32_t getNumberOfModifiers() const override

bool isDataAligned() const override

bool isCxxReturnUdt() const override

bool hasOptimizedCodeDebugInfo() const override

bool isScoped() const override

std::unique_ptr< IPDBEnumSymbols > findChildrenByVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint64_t VA) const override

SymIndexId getUpperBoundId() const override

bool hasInterruptReturn() const override

bool isStatic() const override

uint32_t getTextureSlot() const override

uint32_t getVirtualBaseDispIndex() const override

uint32_t getAddressOffset() const override

std::unique_ptr< IPDBEnumLineNumbers > findInlineeLines() const override

void getFrontEndVersion(VersionInfo &Version) const override

SymIndexId getTypeId() const override

bool hasEHa() const override

std::string getUndecoratedNameEx(PDB_UndnameFlags Flags) const override

bool isCVTCIL() const override

std::unique_ptr< IPDBEnumLineNumbers > findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const override

bool isOptimizedAway() const override

bool isVolatileType() const override

bool isInterfaceUdt() const override

bool isEditAndContinueEnabled() const override

Variant getValue() const override

uint32_t getSignature() const override

bool isUnalignedType() const override

std::string getName() const override

bool hasLongJump() const override

bool hasCustomCallingConvention() const override

PDB_DataKind getDataKind() const override

PDB_Cpu getPlatform() const override

uint32_t getCountLiveRanges() const override

bool isHotpatchable() const override

bool isReturnValue() const override

uint32_t getBaseDataOffset() const override

PDB_MemberAccess getAccess() const override

std::unique_ptr< IPDBEnumSymbols > findChildrenByAddr(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t Section, uint32_t Offset) const override

int32_t getThisAdjust() const override

bool isIntroVirtualFunction() const override

bool isAcceleratorGroupSharedLocal() const override

bool hasNoReturnAttribute() const override

SymIndexId getLowerBoundId() const override

bool hasNestedTypes() const override

bool hasCTypes() const override

std::string getSymbolsFileName() const override

uint32_t getNumberOfRows() const override

std::unique_ptr< IPDBEnumSymbols > findInlineFramesByAddr(uint32_t Section, uint32_t Offset) const override

PDB_Lang getLanguage() const override

bool wasInlined() const override

uint32_t getLiveRangeStartAddressSection() const override

bool isPacked() const override

bool getNoStackOrdering() const override

uint32_t getAge() const override

void getBackEndVersion(VersionInfo &Version) const override

uint32_t getSizeInUdt() const override

bool isLocationControlFlowDependent() const override

PDB_CallingConv getCallingConvention() const override

std::string getUndecoratedName() const override

uint32_t getTargetRelativeVirtualAddress() const override

SymIndexId getArrayIndexTypeId() const override

DIARawSymbol(const DIASession &PDBSession, CComPtr< IDiaSymbol > DiaSymbol)

bool isReference() const override

bool isMultipleInheritance() const override

bool isAggregated() const override

bool isConstructorVirtualBase() const override

bool isSplitted() const override

uint32_t getRegisterType() const override

uint32_t getOffsetInUdt() const override

uint32_t getRelativeVirtualAddress() const override

std::unique_ptr< IPDBEnumLineNumbers > findInlineeLinesByAddr(uint32_t Section, uint32_t Offset, uint32_t Length) const override

PDB_UdtType getUdtKind() const override

bool isCompilerGenerated() const override

bool isIntrinsic() const override

bool isManagedCode() const override

bool isMSILNetmodule() const override

bool hasEH() const override

bool hasConstructor() const override

bool isVirtualInheritance() const override

uint32_t getNumberOfColumns() const override

uint64_t getTargetVirtualAddress() const override

PDB_SymType getSymTag() const override

std::unique_ptr< IPDBEnumSymbols > findInlineFramesByVA(uint64_t VA) const override

bool isNested() const override

bool isVirtual() const override

SymIndexId getVirtualTableShapeId() const override

bool isCode() const override

std::string getUnused() const override

bool isFunction() const override

int32_t getOffset() const override

bool hasAlloca() const override

std::string getCompilerName() const override

bool isAcceleratorStubFunction() const override

SymIndexId getBaseSymbolId() const override

bool hasNoInlineAttribute() const override

bool isSdl() const override

SymIndexId getUnmodifiedTypeId() const override

bool hasStrictGSCheck() const override

codeview::GUID getGuid() const override

uint32_t getNumberOfRegisterIndices() const override

bool hasSEH() const override

uint32_t getVirtualBaseOffset() const override

std::string getSourceFileName() const override

bool isUnreached() const override

SymIndexId getSubTypeId() const override

bool hasOverloadedOperator() const override

std::unique_ptr< IPDBLineNumber > getSrcLineOnTypeDefn() const override

uint32_t getBitPosition() const override

bool isPointerBasedOnSymbolValue() const override

uint32_t getSlot() const override

uint32_t getMemorySpaceKind() const override

uint32_t getUavSlot() const override

std::unique_ptr< IPDBEnumSymbols > findInlineFramesByRVA(uint32_t RVA) const override

bool hasInlAsm() const override

uint32_t getOemId() const override

bool isRefUdt() const override

uint32_t getTimeStamp() const override

bool isSafeBuffers() const override

bool isPointerToDataMember() const override

SymIndexId getOemSymbolId() const override

bool isPureVirtual() const override

bool isValueUdt() const override

uint32_t getSamplerSlot() const override

bool isLTCG() const override

bool isNaked() const override

codeview::RegisterId getRegisterId() const override

bool isSingleInheritance() const override

bool isHLSLData() const override

bool hasSetJump() const override

uint32_t getLiveRangeStartAddressOffset() const override

uint32_t getStride() const override

uint32_t getRank() const override

bool isIndirectVirtualBaseClass() const override

bool hasFarReturn() const override

uint32_t getNumberOfAcceleratorPointerTags() const override

uint32_t getAddressSection() const override

bool isConstType() const override

uint64_t getLength() const override

std::unique_ptr< IPDBEnumSymbols > findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t RVA) const override

bool isPointerToMemberFunction() const override

PDB_BuiltinType getBuiltinType() const override

std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type) const override

SymIndexId getClassParentId() const override

bool isAcceleratorPointerTagLiveRange() const override

bool isVirtualBaseClass() const override

bool isRestrictedType() const override

bool hasDebugInfo() const override

codeview::RegisterId getLocalBasePointerRegisterId() const override

SymIndexId getSymIndexId() const override

std::string getObjectFileName() const override

uint64_t getLiveRangeLength() const override

bool hasFramePointer() const override

bool hasManagedCode() const override

PDB_LocType getLocationType() const override

bool hasCastOperator() const override

bool isMatrixRowMajor() const override

CComPtr< IDiaSymbol > getDiaSymbol() const

Definition DIARawSymbol.h:25

uint32_t getToken() const override

bool hasPrivateSymbols() const override

uint32_t getBaseDataSlot() const override

SymIndexId getLexicalParentId() const override

int32_t getVirtualBasePointerOffset() const override

bool getAddressTaken() const override

uint32_t getLiveRangeStartRelativeVirtualAddress() const override

void getDataBytes(llvm::SmallVector< uint8_t, 32 > &bytes) const override

bool isMSILCode() const override

std::string getLibraryName() const override

bool hasInlineAttribute() const override

bool hasAssignmentOperator() const override

uint64_t getVirtualAddress() const override

uint32_t getCount() const override

codeview::ThunkOrdinal getThunkOrdinal() const override

uint32_t getTargetSection() const override

PDB_Machine getMachineType() const override

std::unique_ptr< PDBSymbolTypeBuiltin > getVirtualBaseTableType() const override

bool hasSecurityChecks() const override

uint32_t getTargetOffset() const override

bool isRValueReference() const override

void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override

std::unique_ptr< IPDBEnumLineNumbers > findInlineeLinesByVA(uint64_t VA, uint32_t Length) const override

IPDBRawSymbol defines an interface used to represent an arbitrary symbol.

This class implements an extremely fast bulk output stream that can only output to a stream.

ThunkOrdinal

These values correspond to the THUNK_ORDINAL enumeration.

PDB_NameSearchFlags

Defines flags used for enumerating child symbols.

PDB_BuiltinType

These values correspond to the Basictype enumeration, and are documented here: https://msdn....

PDB_UdtType

These values correspond to the UdtKind enumeration, and are documented here: https://msdn....

PDB_SymType

These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....

PDB_LocType

These values correspond to the LocationType enumeration, and are documented here: https://msdn....

PDB_DataKind

These values correspond to the DataKind enumeration, and are documented here: https://msdn....

PDB_UndnameFlags

These values correspond to the flags that can be combined to control the return of an undecorated nam...

codeview::CPUType PDB_Cpu

These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn....

codeview::SourceLanguage PDB_Lang

These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn....

codeview::CallingConvention PDB_CallingConv

These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...

This is an optimization pass for GlobalISel generic memory operations.

FunctionAddr VTableAddr uintptr_t uintptr_t Version

This represents the 'GUID' type from windows.h.