LLVM: llvm::pdb Namespace Reference (original) (raw)

Classes
struct AutoIndent
class BaseClassLayout
struct BulkPublic
This struct is equivalent to codeview::PublicSym32, but it has been optimized for size to speed up bulk serialization and sorting operations during PDB writing. More...
class ClassLayout
class ConcreteSymbolEnumerator
class DataMemberLayoutItem
struct DbiBuildNo
struct DbiFlags
Some of the values are stored in bitfields. More...
class DbiModuleDescriptor
class DbiModuleDescriptorBuilder
class DbiModuleList
class DbiModuleSourceFilesIterator
class DbiStream
class DbiStreamBuilder
struct DbiStreamHeader
The fixed size header that appears at the beginning of the DBI Stream. More...
class DIADataStream
class DIAEnumDebugStreams
class DIAEnumFrameData
class DIAEnumInjectedSources
class DIAEnumLineNumbers
class DIAEnumSectionContribs
class DIAEnumSourceFiles
class DIAEnumSymbols
class DIAEnumTables
class DIAError
Base class for errors originating in DIA SDK, e.g. COM calls. More...
class DIAFrameData
class DIAInjectedSource
class DIALineNumber
class DIARawSymbol
class DIASectionContrib
class DIASession
class DIASourceFile
class DIATable
struct FileInfoSubstreamHeader
The header preceding the File Info Substream of the DBI stream. More...
class GlobalsStream
struct GSIHashHeader
Header of the hash tables found in the globals and publics sections. More...
class GSIHashIterator
Iterator over hash records producing symbol record offsets. More...
struct GSIHashStreamBuilder
class GSIHashTable
A readonly view of a hash table used in the globals and publics streams. More...
class GSIStreamBuilder
class HashTable
class HashTableIterator
class InfoStream
class InfoStreamBuilder
struct InfoStreamHeader
The header preceding the global PDB Stream (Stream 1) More...
class InjectedSourceStream
class InputFile
class IPDBDataStream
IPDBDataStream defines an interface used to represent a stream consisting of a name and a series of records whose formats depend on the particular stream type. More...
class IPDBEnumChildren
class IPDBFrameData
IPDBFrameData defines an interface used to represent a frame data of some code block. More...
class IPDBInjectedSource
IPDBInjectedSource defines an interface used to represent source files which were injected directly into the PDB file during the compilation process. More...
class IPDBLineNumber
class IPDBRawSymbol
IPDBRawSymbol defines an interface used to represent an arbitrary symbol. More...
class IPDBSectionContrib
IPDBSectionContrib defines an interface used to represent section contributions whose information are stored in the PDB. More...
class IPDBSession
IPDBSession defines an interface used to provide a context for querying debug information from a debug data source (for example, a PDB). More...
class IPDBSourceFile
IPDBSourceFile defines an interface used to represent source files whose information are stored in the PDB. More...
class IPDBTable
class ISectionContribVisitor
class LayoutItemBase
class LinePrinter
struct ModInfoFlags
class ModuleDebugStreamRef
struct ModuleInfoHeader
The header preceding each entry in the Module Info substream of the DBI stream. More...
class NamedStreamMap
struct NamedStreamMapTraits
class NativeCompilandSymbol
class NativeEnumGlobals
class NativeEnumInjectedSources
class NativeEnumLineNumbers
class NativeEnumModules
class NativeEnumSymbols
class NativeEnumTypes
class NativeExeSymbol
class NativeFunctionSymbol
class NativeInlineSiteSymbol
class NativeLineNumber
class NativePublicSymbol
class NativeRawSymbol
class NativeSession
class NativeSourceFile
class NativeSymbolEnumerator
class NativeTypeArray
class NativeTypeBuiltin
class NativeTypeEnum
class NativeTypeFunctionSig
class NativeTypePointer
class NativeTypeTypedef
class NativeTypeUDT
class NativeTypeVTShape
class NullEnumerator
struct PDB_SourceCompression
class PDBContext
PDBContext This data structure is the top level entity that deals with PDB debug information parsing. More...
class PDBError
Base class for errors originating when parsing raw PDB files. More...
class PDBFile
class PDBFileBuilder
class PDBStringTable
class PDBStringTableBuilder
struct PDBStringTableHeader
The header preceding the /names stream. More...
class PDBSymbol
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e.g. More...
class PDBSymbolAnnotation
class PDBSymbolBlock
class PDBSymbolCompiland
class PDBSymbolCompilandDetails
class PDBSymbolCompilandEnv
class PDBSymbolCustom
PDBSymbolCustom represents symbols that are compiler-specific and do not fit anywhere else in the lexical hierarchy. More...
class PDBSymbolData
class PDBSymbolExe
class PDBSymbolFunc
class PDBSymbolFuncDebugEnd
class PDBSymbolFuncDebugStart
class PDBSymbolLabel
class PDBSymbolPublicSymbol
class PDBSymbolThunk
class PDBSymbolTypeArray
class PDBSymbolTypeBaseClass
class PDBSymbolTypeBuiltin
class PDBSymbolTypeCustom
class PDBSymbolTypeDimension
class PDBSymbolTypeEnum
class PDBSymbolTypeFriend
class PDBSymbolTypeFunctionArg
class PDBSymbolTypeFunctionSig
class PDBSymbolTypeManaged
class PDBSymbolTypePointer
class PDBSymbolTypeTypedef
class PDBSymbolTypeUDT
class PDBSymbolTypeVTable
class PDBSymbolTypeVTableShape
class PDBSymbolUnknown
class PDBSymbolUsingNamespace
class PDBSymDumper
struct PrintScope
struct PSHashRecord
class PublicsStream
struct PublicsStreamHeader
class RawError
Base class for errors originating when parsing raw PDB files. More...
struct SecMapEntry
struct SecMapHeader
struct SectionContrib
struct SectionContrib2
struct SectionOffset
struct SrcHeaderBlockEntry
A single file record entry within the /src/headerblock stream. More...
struct SrcHeaderBlockHeader
The header preceding the /src/headerblock stream. More...
struct StringTableFixup
Represents a string table reference at some offset in the module symbol stream. More...
struct StringTableHashTraits
class SymbolCache
struct SymbolDenseMapInfo
class SymbolGroup
class SymbolGroupIterator
struct SymbolListWrapper
class SymbolStream
struct TagRecordHash
class TpiStream
class TpiStreamBuilder
struct TpiStreamHeader
class UDTLayoutBase
struct Variant
class VBPtrLayoutItem
struct VersionInfo
class VTableLayoutItem
class WithColor
Typedefs
using TagStats = std::unordered_map<PDB_SymType, int>
typedef uint32_t SymIndexId
using IPDBEnumSymbols = IPDBEnumChildren<PDBSymbol>
using IPDBEnumSourceFiles = IPDBEnumChildren<IPDBSourceFile>
using IPDBEnumDataStreams = IPDBEnumChildren<IPDBDataStream>
using IPDBEnumLineNumbers = IPDBEnumChildren<IPDBLineNumber>
using IPDBEnumTables = IPDBEnumChildren<IPDBTable>
using IPDBEnumInjectedSources = IPDBEnumChildren<IPDBInjectedSource>
using IPDBEnumSectionContribs = IPDBEnumChildren<IPDBSectionContrib>
using IPDBEnumFrameData = IPDBEnumChildren<IPDBFrameData>
using PDB_Cpu = codeview::CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/b2fc64ek.aspx.
using PDB_CallingConv = codeview::CallingConvention
These values correspond to the CV_call_e enumeration, and are documented at the following locations: https://msdn.microsoft.com/en-us/library/b2fc64ek.aspx https://msdn.microsoft.com/en-us/library/windows/desktop/ms680207(v=vs.85).aspx.
using PDB_Lang = codeview::SourceLanguage
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bw3aekw6.aspx.
Enumerations
enum class dia_error_code { unspecified = 1 , could_not_create_impl, invalid_file_format, invalid_parameter, already_loaded, debug_info_mismatch }
enum class pdb_error_code { invalid_utf8_path = 1 , dia_sdk_not_present, dia_failed_loading, signature_out_of_date, no_matching_pch, unspecified }
enum class PdbSymbolIdField : uint32_t { None = 0 , SymIndexId = 1 << 0 , LexicalParent = 1 << 1 , ClassParent = 1 << 2 , Type = 1 << 3 , UnmodifiedType = 1 << 4 , All = 0xFFFFFFFF }
enum class CharacteristicStyle { HeaderDefinition, Descriptive }
enum : unsigned { IPHR_HASH = 4096 }
From https://github.com/Microsoft/microsoft-pdb/blob/master/PDB/dbi/gsi.cpp. More...
enum class PDB_ColorItem { None, Address, Type, Comment, Padding, Keyword, Offset, Identifier, Path, SectionHeader, LiteralValue, Register }
enum PdbRaw_ImplVer : uint32_t { PdbImplVC2 = 19941610 , PdbImplVC4 = 19950623 , PdbImplVC41 = 19950814 , PdbImplVC50 = 19960307 , PdbImplVC98 = 19970604 , PdbImplVC70Dep = 19990604 , PdbImplVC70 = 20000404 , PdbImplVC80 = 20030901 , PdbImplVC110 = 20091201 , PdbImplVC140 = 20140508 }
enum class PdbRaw_SrcHeaderBlockVer : uint32_t { SrcVerOne = 19980827 }
enum class PdbRaw_FeatureSig : uint32_t { VC110 = PdbImplVC110 , VC140 = PdbImplVC140 , NoTypeMerge = 0x4D544F4E , MinimalDebugInfo = 0x494E494D }
enum PdbRaw_Features : uint32_t { PdbFeatureNone = 0x0 , PdbFeatureContainsIdStream = 0x1 , PdbFeatureMinimalDebugInfo = 0x2 , PdbFeatureNoTypeMerging = 0x4 }
enum PdbRaw_DbiVer : uint32_t { PdbDbiVC41 = 930803 , PdbDbiV50 = 19960307 , PdbDbiV60 = 19970606 , PdbDbiV70 = 19990903 , PdbDbiV110 = 20091201 }
enum PdbRaw_TpiVer : uint32_t { PdbTpiV40 = 19950410 , PdbTpiV41 = 19951122 , PdbTpiV50 = 19961031 , PdbTpiV70 = 19990903 , PdbTpiV80 = 20040203 }
enum PdbRaw_DbiSecContribVer : uint32_t { DbiSecContribVer60 = 0xeffe0000 + 19970605 , DbiSecContribV2 = 0xeffe0000 + 20140516 }
enum SpecialStream : uint32_t { OldMSFDirectory = 0 , StreamPDB = 1 , StreamTPI = 2 , StreamDBI = 3 , StreamIPI = 4 , kSpecialStreamCount }
enum class DbgHeaderType : uint16_t { FPO, Exception, Fixup, OmapToSrc, OmapFromSrc, SectionHdr, TokenRidMap, Xdata, Pdata, NewFPO, SectionHdrOrig, Max }
enum class OMFSegDescFlags : uint16_t { None = 0 , Read = 1 << 0 , Write = 1 << 1 , Execute = 1 << 2 , AddressIs32Bit = 1 << 3 , IsSelector = 1 << 8 , IsAbsoluteAddress = 1 << 9 , IsGroup = 1 << 10 }
enum class raw_error_code { unspecified = 1 , feature_unsupported, invalid_format, corrupt_file, insufficient_buffer, no_stream, index_out_of_bounds, invalid_block_address, duplicate_entry, no_entry, not_writable, stream_too_long, invalid_tpi_hash }
enum class PDB_ReaderType { DIA = 0 , Native = 1 }
Specifies which PDB reader implementation is to be used. More...
enum class PDB_TableType { TableInvalid = 0 , Symbols, SourceFiles, LineNumbers, SectionContribs, Segments, InjectedSources, FrameData, InputAssemblyFiles, Dbg }
An enumeration indicating the type of data contained in this table. More...
enum PDB_NameSearchFlags { NS_Default = 0x0 , NS_CaseSensitive = 0x1 , NS_CaseInsensitive = 0x2 , NS_FileNameExtMatch = 0x4 , NS_Regex = 0x8 , NS_UndecoratedName = 0x10 , NS_CaseInFileNameExt = NS_CaseInsensitive | NS_FileNameExtMatch , NS_CaseRegex = NS_Regex NS_CaseSensitive , NS_CaseInRex = NS_Regex NS_CaseInsensitive }
Defines flags used for enumerating child symbols. More...
enum class PDB_Checksum { None = 0 , MD5 = 1 , SHA1 = 2 , SHA256 = 3 }
Specifies the hash algorithm that a source file from a PDB was hashed with. More...
enum class PDB_Machine { Invalid = 0xffff , Unknown = 0x0 , Am33 = 0x13 , Amd64 = 0x8664 , Arm = 0x1C0 , Arm64 = 0xaa64 , ArmNT = 0x1C4 , Ebc = 0xEBC , x86 = 0x14C , Ia64 = 0x200 , M32R = 0x9041 , Mips16 = 0x266 , MipsFpu = 0x366 , MipsFpu16 = 0x466 , PowerPC = 0x1F0 , PowerPCFP = 0x1F1 , R4000 = 0x166 , SH3 = 0x1A2 , SH3DSP = 0x1A3 , SH4 = 0x1A6 , SH5 = 0x1A8 , Thumb = 0x1C2 , WceMipsV2 = 0x169 }
enum class PDB_DataKind { Unknown, Local, StaticLocal, Param, ObjectPtr, FileStatic, Global, Member, StaticMember, Constant }
These values correspond to the DataKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/b2x2t313.aspx. More...
enum class PDB_SymType { None, Exe, Compiland, CompilandDetails, CompilandEnv, Function, Block, Data, Annotation, Label, PublicSymbol, UDT, Enum, FunctionSig, PointerType, ArrayType, BuiltinType, Typedef, BaseClass, Friend, FunctionArg, FuncDebugStart, FuncDebugEnd, UsingNamespace, VTableShape, VTable, Custom, Thunk, CustomType, ManagedType, Dimension, CallSite, InlineSite, BaseInterface, VectorType, MatrixType, HLSLType, Caller, Callee, Export, HeapAllocationSite, CoffGroup, Inlinee, Max }
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx. More...
enum class PDB_LocType { Null, Static, TLS, RegRel, ThisRel, Enregistered, BitField, Slot, IlRel, MetaData, Constant, RegRelAliasIndir, Max }
These values correspond to the LocationType enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/f57kaez3.aspx. More...
enum class PDB_UdtType { Struct, Class, Union, Interface }
These values correspond to the UdtKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/wcstk66t.aspx. More...
enum class PDB_StackFrameType : uint16_t { FPO, KernelTrap, KernelTSS, EBP, FrameData, Unknown = 0xffff }
These values correspond to the StackFrameTypeEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bc5207xw.aspx. More...
enum class PDB_MemoryType : uint16_t { Code, Data, Stack, HeapCode, Any = 0xffff }
These values correspond to the MemoryTypeEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/ms165609.aspx. More...
enum class PDB_BuiltinType { None = 0 , Void = 1 , Char = 2 , WCharT = 3 , Int = 6 , UInt = 7 , Float = 8 , BCD = 9 , Bool = 10 , Long = 13 , ULong = 14 , Currency = 25 , Date = 26 , Variant = 27 , Complex = 28 , Bitfield = 29 , BSTR = 30 , HResult = 31 , Char16 = 32 , Char32 = 33 , Char8 = 34 }
These values correspond to the Basictype enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/4szdtzc3.aspx. More...
enum PDB_UndnameFlags : uint32_t { Undname_Complete = 0x0 , Undname_NoLeadingUnderscores = 0x1 , Undname_NoMsKeywords = 0x2 , Undname_NoFuncReturns = 0x4 , Undname_NoAllocModel = 0x8 , Undname_NoAllocLang = 0x10 , Undname_Reserved1 = 0x20 , Undname_Reserved2 = 0x40 , Undname_NoThisType = 0x60 , Undname_NoAccessSpec = 0x80 , Undname_NoThrowSig = 0x100 , Undname_NoMemberType = 0x200 , Undname_NoReturnUDTModel = 0x400 , Undname_32BitDecode = 0x800 , Undname_NameOnly = 0x1000 , Undname_TypeOnly = 0x2000 , Undname_HaveParams = 0x4000 , Undname_NoECSU = 0x8000 , Undname_NoIdentCharCheck = 0x10000 , Undname_NoPTR64 = 0x20000 }
These values correspond to the flags that can be combined to control the return of an undecorated name for a C++ decorated name, and are documented here: https://msdn.microsoft.com/en-us/library/kszfk0fs.aspx. More...
enum class PDB_MemberAccess { Private = 1 , Protected = 2 , Public = 3 }
enum PDB_VariantType { Empty, Unknown, Int8, Int16, Int32, Int64, Single, Double, UInt8, UInt16, UInt32, UInt64, Bool, String }
Functions
const std::error_category & DIAErrCategory ()
std::error_code make_error_code (dia_error_code E)
LLVM_ABI const std::error_category & PDBErrCategory ()
std::error_code make_error_code (pdb_error_code E)
LLVM_ABI void dumpSymbolIdField (raw_ostream &OS, StringRef Name, SymIndexId Value, int Indent, const IPDBSession &Session, PdbSymbolIdField FieldId, PdbSymbolIdField ShowFlags, PdbSymbolIdField RecurseFlags)
LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ()
ArrayRef< EnumEntry< uint16_t > > getOMFSegMapDescFlagNames ()
template<typename T>
std::string formatUnknownEnum (T Value)
LLVM_ABI std::string formatSegmentOffset (uint16_t Segment, uint32_t Offset)
LLVM_ABI std::string formatSectionCharacteristics (uint32_t IndentLevel, uint32_t C, uint32_t FlagsPerLine, StringRef Separator, CharacteristicStyle Style=CharacteristicStyle::HeaderDefinition)
LLVM_ABI std::string typesetItemList (ArrayRef< std::string > Opts, uint32_t IndentLevel, uint32_t GroupSize, StringRef Sep)
LLVM_ABI std::string typesetStringList (uint32_t IndentLevel, ArrayRef< StringRef > Strings)
LLVM_ABI std::string formatChunkKind (codeview::DebugSubsectionKind Kind, bool Friendly=true)
LLVM_ABI std::string formatSymbolKind (codeview::SymbolKind K)
LLVM_ABI std::string formatTypeLeafKind (codeview::TypeLeafKind K)
int NumDigits (uint64_t N)
Returns the number of digits in the given integer.
template<typename T>
detail::EndianAdapter< T > fmtle (support::detail::packed_endian_specific_integral< T, llvm::endianness::little, support::unaligned > Value)
LLVM_ABI uint32_t hashStringV1 (StringRef Str)
LLVM_ABI uint32_t hashStringV2 (StringRef Str)
LLVM_ABI uint32_t hashBufferV8 (ArrayRef< uint8_t > Data)
LLVM_ABI Error readSparseBitVector (BinaryStreamReader &Stream, SparseBitVector<> &V)
LLVM_ABI Error writeSparseBitVector (BinaryStreamWriter &Writer, SparseBitVector<> &Vec)
LLVM_ABI Expected< ModuleDebugStreamRef > getModuleDebugStream (PDBFile &File, StringRef &ModuleName, uint32_t Index)
LLVM_ABI Expected< ModuleDebugStreamRef > getModuleDebugStream (PDBFile &File, uint32_t Index)
LLVM_ABI bool shouldDumpSymbolGroup (uint32_t Idx, const SymbolGroup &Group, const FilterOptions &Filters)
template
Error iterateOneModule (InputFile &File, const PrintScope &HeaderScope, const SymbolGroup &SG, uint32_t Modi, CallbackT Callback)
template
Error iterateSymbolGroups (InputFile &Input, const PrintScope &HeaderScope, CallbackT Callback)
template
Error iterateModuleSubsections (InputFile &File, const PrintScope &HeaderScope, llvm::function_ref< Error(uint32_t, const SymbolGroup &, SubsectionT &)> Callback)
PrintScope withLabelWidth (const PrintScope &Scope, uint32_t W)
template<class T>
raw_ostream & operator<< (LinePrinter &Printer, const T &Item)
LLVM_ABI const std::error_category & RawErrCategory ()
std::error_code make_error_code (raw_error_code E)
LLVM_ABI Expected< uint32_t > hashTypeRecord (const llvm::codeview::CVType &Type)
LLVM_ABI Expected< TagRecordHash > hashTagRecord (const codeview::CVType &Type)
Given a CVType referring to a class, structure, union, or enum, compute the hash of its forward decl and full decl.
LLVM_ABI Error loadDataForPDB (PDB_ReaderType Type, StringRef Path, std::unique_ptr< IPDBSession > &Session)
LLVM_ABI Error loadDataForEXE (PDB_ReaderType Type, StringRef Path, std::unique_ptr< IPDBSession > &Session)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_VariantType &Value)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_CallingConv &Conv)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_BuiltinType &Type)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_DataKind &Data)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const llvm::codeview::CPURegister &CpuReg)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_LocType &Loc)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const codeview::ThunkOrdinal &Thunk)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_Checksum &Checksum)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_Lang &Lang)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_SymType &Tag)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_MemberAccess &Access)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_UdtType &Type)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const PDB_Machine &Machine)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const Variant &Value)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const VersionInfo &Version)
LLVM_ABI raw_ostream & operator<< (raw_ostream &OS, const TagStats &Stats)
LLVM_ABI raw_ostream & dumpPDBSourceCompression (raw_ostream &OS, uint32_t Compression)
template<typename T>
void dumpSymbolField (raw_ostream &OS, StringRef Name, T Value, int Indent)

IPDBEnumDataStreams

IPDBEnumFrameData

IPDBEnumInjectedSources

IPDBEnumLineNumbers

IPDBEnumSectionContribs

IPDBEnumSourceFiles

IPDBEnumSymbols

IPDBEnumTables

PDB_CallingConv

PDB_Cpu

PDB_Lang

SymIndexId

TagStats

using llvm::pdb::TagStats = std::unordered_map<PDB_SymType, int>

anonymous enum

CharacteristicStyle

Enumerator
HeaderDefinition
Descriptive

Definition at line 43 of file FormatUtil.h.

DbgHeaderType

Enumerator
FPO
Exception
Fixup
OmapToSrc
OmapFromSrc
SectionHdr
TokenRidMap
Xdata
Pdata
NewFPO
SectionHdrOrig
Max

Definition at line 86 of file RawConstants.h.

dia_error_code

Enumerator
unspecified
could_not_create_impl
invalid_file_format
invalid_parameter
already_loaded
debug_info_mismatch

Definition at line 17 of file DIAError.h.

OMFSegDescFlags

Enumerator
None
Read
Write
Execute
AddressIs32Bit
IsSelector
IsAbsoluteAddress
IsGroup

Definition at line 101 of file RawConstants.h.

PDB_BuiltinType

PDB_Checksum

PDB_ColorItem

Enumerator
None
Address
Type
Comment
Padding
Keyword
Offset
Identifier
Path
SectionHeader
LiteralValue
Register

Definition at line 157 of file LinePrinter.h.

PDB_DataKind

pdb_error_code

Enumerator
invalid_utf8_path
dia_sdk_not_present
dia_failed_loading
signature_out_of_date
no_matching_pch
unspecified

Definition at line 18 of file GenericError.h.

PDB_LocType

enum class llvm::pdb::PDB_LocType strong

PDB_Machine

enum class llvm::pdb::PDB_Machine strong
Enumerator
Invalid
Unknown
Am33
Amd64
Arm
Arm64
ArmNT
Ebc
x86
Ia64
M32R
Mips16
MipsFpu
MipsFpu16
PowerPC
PowerPCFP
R4000
SH3
SH3DSP
SH4
SH5
Thumb
WceMipsV2

Definition at line 125 of file PDBTypes.h.

PDB_MemberAccess

Enumerator
Private
Protected
Public

Definition at line 385 of file PDBTypes.h.

PDB_MemoryType

PDB_NameSearchFlags

Defines flags used for enumerating child symbols.

This corresponds to the NameSearchOptions enumeration which is documented here: https://msdn.microsoft.com/en-us/library/yat28ads.aspx

Enumerator
NS_Default
NS_CaseSensitive
NS_CaseInsensitive
NS_FileNameExtMatch
NS_Regex
NS_UndecoratedName
NS_CaseInFileNameExt
NS_CaseRegex
NS_CaseInRex

Definition at line 102 of file PDBTypes.h.

PDB_ReaderType

Specifies which PDB reader implementation is to be used.

Only a value of PDB_ReaderType::DIA is currently supported, but Native is in the works.

Enumerator
DIA
Native

Definition at line 80 of file PDBTypes.h.

PDB_StackFrameType

PDB_SymType

enum class llvm::pdb::PDB_SymType strong

These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.

Enumerator
None
Exe
Compiland
CompilandDetails
CompilandEnv
Function
Block
Data
Annotation
Label
PublicSymbol
UDT
Enum
FunctionSig
PointerType
ArrayType
BuiltinType
Typedef
BaseClass
Friend
FunctionArg
FuncDebugStart
FuncDebugEnd
UsingNamespace
VTableShape
VTable
Custom
Thunk
CustomType
ManagedType
Dimension
CallSite
InlineSite
BaseInterface
VectorType
MatrixType
HLSLType
Caller
Callee
Export
HeapAllocationSite
CoffGroup
Inlinee
Max

Definition at line 243 of file PDBTypes.h.

PDB_TableType

An enumeration indicating the type of data contained in this table.

Enumerator
TableInvalid
Symbols
SourceFiles
LineNumbers
SectionContribs
Segments
InjectedSources
FrameData
InputAssemblyFiles
Dbg

Definition at line 86 of file PDBTypes.h.

PDB_UdtType

enum class llvm::pdb::PDB_UdtType strong

PDB_UndnameFlags

These values correspond to the flags that can be combined to control the return of an undecorated name for a C++ decorated name, and are documented here: https://msdn.microsoft.com/en-us/library/kszfk0fs.aspx.

Enumerator
Undname_Complete
Undname_NoLeadingUnderscores
Undname_NoMsKeywords
Undname_NoFuncReturns
Undname_NoAllocModel
Undname_NoAllocLang
Undname_Reserved1
Undname_Reserved2
Undname_NoThisType
Undname_NoAccessSpec
Undname_NoThrowSig
Undname_NoMemberType
Undname_NoReturnUDTModel
Undname_32BitDecode
Undname_NameOnly
Undname_TypeOnly
Undname_HaveParams
Undname_NoECSU
Undname_NoIdentCharCheck
Undname_NoPTR64

Definition at line 362 of file PDBTypes.h.

PDB_VariantType

Enumerator
Empty
Unknown
Int8
Int16
Int32
Int64
Single
Double
UInt8
UInt16
UInt32
UInt64
Bool
String

Definition at line 394 of file PDBTypes.h.

PdbRaw_DbiSecContribVer

Enumerator
DbiSecContribVer60
DbiSecContribV2

Definition at line 67 of file RawConstants.h.

PdbRaw_DbiVer

Enumerator
PdbDbiVC41
PdbDbiV50
PdbDbiV60
PdbDbiV70
PdbDbiV110

Definition at line 51 of file RawConstants.h.

PdbRaw_Features

Enumerator
PdbFeatureNone
PdbFeatureContainsIdStream
PdbFeatureMinimalDebugInfo
PdbFeatureNoTypeMerging

Definition at line 43 of file RawConstants.h.

PdbRaw_FeatureSig

Enumerator
VC110
VC140
NoTypeMerge
MinimalDebugInfo

Definition at line 36 of file RawConstants.h.

PdbRaw_ImplVer

Enumerator
PdbImplVC2
PdbImplVC4
PdbImplVC41
PdbImplVC50
PdbImplVC98
PdbImplVC70Dep
PdbImplVC70
PdbImplVC80
PdbImplVC110
PdbImplVC140

Definition at line 21 of file RawConstants.h.

PdbRaw_SrcHeaderBlockVer

PdbRaw_TpiVer

Enumerator
PdbTpiV40
PdbTpiV41
PdbTpiV50
PdbTpiV70
PdbTpiV80

Definition at line 59 of file RawConstants.h.

PdbSymbolIdField

Enumerator
None
SymIndexId
LexicalParent
ClassParent
Type
UnmodifiedType
All

Definition at line 26 of file IPDBRawSymbol.h.

raw_error_code

Enumerator
unspecified
feature_unsupported
invalid_format
corrupt_file
insufficient_buffer
no_stream
index_out_of_bounds
invalid_block_address
duplicate_entry
no_entry
not_writable
stream_too_long
invalid_tpi_hash

Definition at line 17 of file RawError.h.

SpecialStream

Enumerator
OldMSFDirectory
StreamPDB
StreamTPI
StreamDBI
StreamIPI
kSpecialStreamCount

Definition at line 72 of file RawConstants.h.

DIAErrCategory()

const std::error_category & llvm::pdb::DIAErrCategory ( )

dumpPDBSourceCompression()

dumpSymbolField()

template<typename T>

void llvm::pdb::dumpSymbolField ( raw_ostream & OS,
StringRef Name,
T Value,
int Indent )

Definition at line 51 of file PDBExtras.h.

References llvm::raw_ostream::indent(), and T.

Referenced by llvm::pdb::NativeCompilandSymbol::dump(), llvm::pdb::NativeFunctionSymbol::dump(), llvm::pdb::NativeInlineSiteSymbol::dump(), llvm::pdb::NativePublicSymbol::dump(), llvm::pdb::NativeRawSymbol::dump(), llvm::pdb::NativeSymbolEnumerator::dump(), llvm::pdb::NativeTypeArray::dump(), llvm::pdb::NativeTypeEnum::dump(), llvm::pdb::NativeTypeFunctionSig::dump(), llvm::pdb::NativeTypePointer::dump(), llvm::pdb::NativeTypeTypedef::dump(), llvm::pdb::NativeTypeUDT::dump(), and llvm::pdb::NativeTypeVTShape::dump().

dumpSymbolIdField()

Definition at line 202 of file PDBSymbol.cpp.

References llvm::pdb::IPDBSession::getSymbolById(), llvm::raw_ostream::indent(), None, and SymIndexId.

Referenced by llvm::pdb::NativeCompilandSymbol::dump(), llvm::pdb::NativeRawSymbol::dump(), llvm::pdb::NativeSymbolEnumerator::dump(), llvm::pdb::NativeTypeArray::dump(), llvm::pdb::NativeTypeEnum::dump(), llvm::pdb::NativeTypeFunctionSig::dump(), llvm::pdb::NativeTypePointer::dump(), llvm::pdb::NativeTypeTypedef::dump(), llvm::pdb::NativeTypeUDT::dump(), and llvm::pdb::NativeTypeVTShape::dump().

fmtle()

formatChunkKind()

Definition at line 50 of file FormatUtil.cpp.

References llvm::codeview::CoffSymbolRVA, llvm::codeview::CrossScopeExports, llvm::codeview::CrossScopeImports, llvm::codeview::FileChecksums, formatUnknownEnum(), FrameData, llvm::codeview::FuncMDTokenMap, llvm::codeview::ILLines, llvm::codeview::InlineeLines, llvm::codeview::Lines, llvm::codeview::MergedAssemblyInput, None, RETURN_CASE, Symbols, llvm::codeview::TypeMDTokenMap, llvm::codeview::XfgHashType, and llvm::codeview::XfgHashVirtual.

formatSectionCharacteristics()

formatSegmentOffset()

std::string llvm::pdb::formatSegmentOffset ( uint16_t Segment,
uint32_t Offset )

formatSymbolKind()

formatTypeLeafKind()

formatUnknownEnum()

template<typename T>

std::string llvm::pdb::formatUnknownEnum ( T Value )

getModuleDebugStream() [1/2]

getModuleDebugStream() [2/2]

getOMFSegMapDescFlagNames()

hashBufferV8()

hashStringV1()

hashStringV2()

hashTagRecord()

hashTypeRecord()

iterateModuleSubsections()

iterateOneModule()

iterateSymbolGroups()

LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE()

llvm::pdb::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE ( )

loadDataForEXE()

loadDataForPDB()

make_error_code() [1/3]

std::error_code llvm::pdb::make_error_code ( dia_error_code E) inline

make_error_code() [2/3]

std::error_code llvm::pdb::make_error_code ( pdb_error_code E) inline

make_error_code() [3/3]

std::error_code llvm::pdb::make_error_code ( raw_error_code E) inline

NumDigits()

int llvm::pdb::NumDigits ( uint64_t N) inline

operator<<() [1/17]

operator<<() [2/17]

operator<<() [3/17]

operator<<() [4/17]

Definition at line 43 of file PDBExtras.cpp.

References BCD, Bitfield, Bool, BSTR, CASE_OUTPUT_ENUM_CLASS_NAME, Char, Char16, Char32, Char8, Complex, Currency, Date, Float, HResult, Int, Long, None, Type, UInt, ULong, Void, and WCharT.

operator<<() [5/17]

operator<<() [6/17]

operator<<() [7/17]

Definition at line 104 of file PDBExtras.cpp.

References CASE_OUTPUT_ENUM_CLASS_STR, Constant, Data, FileStatic, Global, Local, Member, ObjectPtr, Param, StaticLocal, StaticMember, and Unknown.

operator<<() [8/17]

operator<<() [9/17]

Definition at line 169 of file PDBExtras.cpp.

References BitField, CASE_OUTPUT_ENUM_CLASS_STR, Constant, Enregistered, IlRel, MetaData, RegRel, RegRelAliasIndir, Slot, Static, ThisRel, and TLS.

operator<<() [10/17]

Definition at line 315 of file PDBExtras.cpp.

References Am33, Amd64, Arm, ArmNT, CASE_OUTPUT_ENUM_CLASS_NAME, Ebc, Ia64, M32R, Machine, Mips16, MipsFpu, MipsFpu16, PowerPC, PowerPCFP, R4000, SH3, SH3DSP, SH4, SH5, Thumb, WceMipsV2, and x86.

operator<<() [11/17]

operator<<() [12/17]

Definition at line 245 of file PDBExtras.cpp.

References Annotation, ArrayType, BaseClass, BaseInterface, Block, BuiltinType, Callee, Caller, CallSite, CASE_OUTPUT_ENUM_CLASS_NAME, CoffGroup, Compiland, CompilandDetails, CompilandEnv, Custom, CustomType, Data, Dimension, Enum, Exe, Export, Friend, FuncDebugEnd, FuncDebugStart, Function, FunctionArg, FunctionSig, HeapAllocationSite, HLSLType, Inlinee, InlineSite, Label, ManagedType, MatrixType, PointerType, PublicSymbol, llvm::Tag, Thunk, Typedef, UDT, UsingNamespace, VectorType, VTable, and VTableShape.

operator<<() [13/17]

operator<<() [14/17]

Definition at line 23 of file PDBExtras.cpp.

References Bool, CASE_OUTPUT_ENUM_CLASS_NAME, Double, Int16, Int32, Int64, Int8, Single, Type, UInt16, UInt32, UInt64, and UInt8.

operator<<() [15/17]

operator<<() [16/17]

Definition at line 359 of file PDBExtras.cpp.

References Bool, Double, Int16, Int32, Int64, Int8, Single, String, UInt16, UInt32, UInt64, UInt8, and llvm::Value::Value().

operator<<() [17/17]

PDBErrCategory()

const std::error_category & llvm::pdb::PDBErrCategory ( )

RawErrCategory()

const std::error_category & llvm::pdb::RawErrCategory ( )

readSparseBitVector()

shouldDumpSymbolGroup()

typesetItemList()

typesetStringList()

withLabelWidth()

writeSparseBitVector()

kInvalidStreamIndex

Definition at line 19 of file RawConstants.h.

Referenced by llvm::pdb::DbiStreamBuilder::commit(), llvm::pdb::TpiStreamBuilder::commit(), llvm::pdb::DbiModuleDescriptorBuilder::commitSymbolStream(), llvm::pdb::PDBFile::createIndexedStream(), llvm::pdb::DbiModuleDescriptorBuilder::finalize(), llvm::pdb::DbiModuleDescriptorBuilder::finalizeMsfLayout(), llvm::pdb::DbiStream::getDebugStreamIndex(), getModuleDebugStream(), getModuleDebugStream(), llvm::pdb::NativeSession::getModuleDebugStream(), llvm::pdb::ModuleDebugStreamRef::reload(), and llvm::pdb::TpiStream::reload().

MaxTpiHashBuckets

MinTpiHashBuckets

PDBStringTableSignature