LLVM
15.0.0git
|
Namespaces | |
detail | |
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 |
Variables | |
const uint16_t | kInvalidStreamIndex = 0xFFFF |
const uint32_t | MinTpiHashBuckets = 0x1000 |
const uint32_t | MaxTpiHashBuckets = 0x40000 |
const uint32_t | PDBStringTableSignature = 0xEFFEEFFE |
using llvm::pdb::IPDBEnumDataStreams = typedef IPDBEnumChildren<IPDBDataStream> |
Definition at line 71 of file PDBTypes.h.
using llvm::pdb::IPDBEnumFrameData = typedef IPDBEnumChildren<IPDBFrameData> |
Definition at line 76 of file PDBTypes.h.
using llvm::pdb::IPDBEnumInjectedSources = typedef IPDBEnumChildren<IPDBInjectedSource> |
Definition at line 74 of file PDBTypes.h.
using llvm::pdb::IPDBEnumLineNumbers = typedef IPDBEnumChildren<IPDBLineNumber> |
Definition at line 72 of file PDBTypes.h.
using llvm::pdb::IPDBEnumSectionContribs = typedef IPDBEnumChildren<IPDBSectionContrib> |
Definition at line 75 of file PDBTypes.h.
using llvm::pdb::IPDBEnumSourceFiles = typedef IPDBEnumChildren<IPDBSourceFile> |
Definition at line 70 of file PDBTypes.h.
using llvm::pdb::IPDBEnumSymbols = typedef IPDBEnumChildren<PDBSymbol> |
Definition at line 69 of file PDBTypes.h.
using llvm::pdb::IPDBEnumTables = typedef IPDBEnumChildren<IPDBTable> |
Definition at line 73 of file PDBTypes.h.
using llvm::pdb::PDB_CallingConv = typedef 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.
Definition at line 220 of file PDBTypes.h.
using llvm::pdb::PDB_Cpu = typedef 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.
Definition at line 123 of file PDBTypes.h.
using llvm::pdb::PDB_Lang = typedef codeview::SourceLanguage |
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bw3aekw6.aspx.
Definition at line 224 of file PDBTypes.h.
typedef uint32_t llvm::pdb::SymIndexId |
Definition at line 26 of file PDBTypes.h.
using llvm::pdb::TagStats = typedef std::unordered_map<PDB_SymType, int> |
Definition at line 23 of file PDBExtras.h.
anonymous enum : unsigned |
From https://github.com/Microsoft/microsoft-pdb/blob/master/PDB/dbi/gsi.cpp.
Enumerator | |
---|---|
IPHR_HASH |
Definition at line 45 of file GlobalsStream.h.
|
strong |
Enumerator | |
---|---|
HeaderDefinition | |
Descriptive |
Definition at line 43 of file FormatUtil.h.
|
strong |
Enumerator | |
---|---|
FPO | |
Exception | |
Fixup | |
OmapToSrc | |
OmapFromSrc | |
SectionHdr | |
TokenRidMap | |
Xdata | |
Pdata | |
NewFPO | |
SectionHdrOrig | |
Max |
Definition at line 86 of file RawConstants.h.
|
strong |
Enumerator | |
---|---|
unspecified | |
could_not_create_impl | |
invalid_file_format | |
invalid_parameter | |
already_loaded | |
debug_info_mismatch |
Definition at line 17 of file DIAError.h.
|
strong |
Enumerator | |
---|---|
None | |
Read | |
Write | |
Execute | |
AddressIs32Bit | |
IsSelector | |
IsAbsoluteAddress | |
IsGroup |
Definition at line 101 of file RawConstants.h.
|
strong |
These values correspond to the Basictype enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/4szdtzc3.aspx.
Enumerator | |
---|---|
None | |
Void | |
Char | |
WCharT | |
Int | |
UInt | |
Float | |
BCD | |
Bool | |
Long | |
ULong | |
Currency | |
Date | |
Variant | |
Complex | |
Bitfield | |
BSTR | |
HResult | |
Char16 | |
Char32 | |
Char8 |
Definition at line 335 of file PDBTypes.h.
|
strong |
Specifies the hash algorithm that a source file from a PDB was hashed with.
This corresponds to the CV_SourceChksum_t enumeration and are documented here: https://msdn.microsoft.com/en-us/library/e96az21x.aspx
Enumerator | |
---|---|
None | |
MD5 | |
SHA1 | |
SHA256 |
Definition at line 119 of file PDBTypes.h.
|
strong |
Enumerator | |
---|---|
None | |
Address | |
Type | |
Comment | |
Padding | |
Keyword | |
Offset | |
Identifier | |
Path | |
SectionHeader | |
LiteralValue | |
Register |
Definition at line 155 of file LinePrinter.h.
|
strong |
These values correspond to the DataKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/b2x2t313.aspx.
Enumerator | |
---|---|
Unknown | |
Local | |
StaticLocal | |
Param | |
ObjectPtr | |
FileStatic | |
Global | |
Member | |
StaticMember | |
Constant |
Definition at line 228 of file PDBTypes.h.
|
strong |
Enumerator | |
---|---|
invalid_utf8_path | |
dia_sdk_not_present | |
dia_failed_loading | |
signature_out_of_date | |
no_matching_pch | |
unspecified |
Definition at line 17 of file GenericError.h.
|
strong |
These values correspond to the LocationType enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/f57kaez3.aspx.
Enumerator | |
---|---|
Null | |
Static | |
TLS | |
RegRel | |
ThisRel | |
Enregistered | |
BitField | |
Slot | |
IlRel | |
MetaData | |
Constant | |
RegRelAliasIndir | |
Max |
Definition at line 292 of file PDBTypes.h.
|
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.
|
strong |
Enumerator | |
---|---|
Private | |
Protected | |
Public |
Definition at line 385 of file PDBTypes.h.
|
strong |
These values correspond to the MemoryTypeEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/ms165609.aspx.
Enumerator | |
---|---|
Code | |
Data | |
Stack | |
HeapCode | |
Any |
Definition at line 325 of file PDBTypes.h.
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.
|
strong |
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.
|
strong |
These values correspond to the StackFrameTypeEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bc5207xw.aspx.
Enumerator | |
---|---|
FPO | |
KernelTrap | |
KernelTSS | |
EBP | |
FrameData | |
Unknown |
Definition at line 314 of file PDBTypes.h.
|
strong |
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
Definition at line 243 of file PDBTypes.h.
|
strong |
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.
|
strong |
These values correspond to the UdtKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/wcstk66t.aspx.
Enumerator | |
---|---|
Struct | |
Class | |
Union | |
Interface |
Definition at line 310 of file PDBTypes.h.
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.
Definition at line 362 of file PDBTypes.h.
Enumerator | |
---|---|
Empty | |
Unknown | |
Unknown | |
Unknown | |
Unknown | |
Int8 | |
Int16 | |
Int32 | |
Int64 | |
Single | |
Double | |
UInt8 | |
UInt16 | |
UInt32 | |
UInt64 | |
Bool | |
Bool | |
String |
Definition at line 394 of file PDBTypes.h.
Enumerator | |
---|---|
DbiSecContribVer60 | |
DbiSecContribV2 |
Definition at line 67 of file RawConstants.h.
enum llvm::pdb::PdbRaw_DbiVer : uint32_t |
Enumerator | |
---|---|
PdbDbiVC41 | |
PdbDbiV50 | |
PdbDbiV60 | |
PdbDbiV70 | |
PdbDbiV110 |
Definition at line 51 of file RawConstants.h.
Enumerator | |
---|---|
PdbFeatureNone | |
PdbFeatureContainsIdStream | |
PdbFeatureMinimalDebugInfo | |
PdbFeatureNoTypeMerging |
Definition at line 43 of file RawConstants.h.
|
strong |
Enumerator | |
---|---|
VC110 | |
VC140 | |
NoTypeMerge | |
MinimalDebugInfo |
Definition at line 36 of file RawConstants.h.
Enumerator | |
---|---|
PdbImplVC2 | |
PdbImplVC4 | |
PdbImplVC41 | |
PdbImplVC50 | |
PdbImplVC98 | |
PdbImplVC70Dep | |
PdbImplVC70 | |
PdbImplVC80 | |
PdbImplVC110 | |
PdbImplVC140 |
Definition at line 21 of file RawConstants.h.
|
strong |
Enumerator | |
---|---|
SrcVerOne |
Definition at line 34 of file RawConstants.h.
enum llvm::pdb::PdbRaw_TpiVer : uint32_t |
Enumerator | |
---|---|
PdbTpiV40 | |
PdbTpiV41 | |
PdbTpiV50 | |
PdbTpiV70 | |
PdbTpiV80 |
Definition at line 59 of file RawConstants.h.
|
strong |
Enumerator | |
---|---|
None | |
SymIndexId | |
LexicalParent | |
ClassParent | |
Type | |
UnmodifiedType | |
All |
Definition at line 24 of file IPDBRawSymbol.h.
|
strong |
Definition at line 16 of file RawError.h.
enum llvm::pdb::SpecialStream : uint32_t |
Enumerator | |
---|---|
OldMSFDirectory | |
StreamPDB | |
StreamTPI | |
StreamDBI | |
StreamIPI | |
kSpecialStreamCount |
Definition at line 72 of file RawConstants.h.
const std::error_category & llvm::pdb::DIAErrCategory | ( | ) |
Definition at line 35 of file DIAError.cpp.
References DIACategory.
Referenced by make_error_code().
raw_ostream & llvm::pdb::dumpPDBSourceCompression | ( | raw_ostream & | OS, |
uint32_t | Compression | ||
) |
Definition at line 338 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_NAME, CASE_OUTPUT_ENUM_CLASS_STR, and llvm::None.
void llvm::pdb::dumpSymbolField | ( | raw_ostream & | OS, |
StringRef | Name, | ||
T | Value, | ||
int | Indent | ||
) |
Definition at line 47 of file PDBExtras.h.
References llvm::raw_ostream::indent().
Referenced by llvm::pdb::NativeCompilandSymbol::dump(), llvm::pdb::NativePublicSymbol::dump(), llvm::pdb::NativeTypeArray::dump(), llvm::pdb::NativeRawSymbol::dump(), llvm::pdb::NativeFunctionSymbol::dump(), llvm::pdb::NativeTypeVTShape::dump(), llvm::pdb::NativeInlineSiteSymbol::dump(), llvm::pdb::NativeSymbolEnumerator::dump(), llvm::pdb::NativeTypeTypedef::dump(), llvm::pdb::NativeTypePointer::dump(), llvm::pdb::NativeTypeFunctionSig::dump(), llvm::pdb::NativeTypeEnum::dump(), and llvm::pdb::NativeTypeUDT::dump().
void llvm::pdb::dumpSymbolIdField | ( | raw_ostream & | OS, |
StringRef | Name, | ||
SymIndexId | Value, | ||
int | Indent, | ||
const IPDBSession & | Session, | ||
PdbSymbolIdField | FieldId, | ||
PdbSymbolIdField | ShowFlags, | ||
PdbSymbolIdField | RecurseFlags | ||
) |
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::NativeTypeArray::dump(), llvm::pdb::NativeRawSymbol::dump(), llvm::pdb::NativeTypeVTShape::dump(), llvm::pdb::NativeSymbolEnumerator::dump(), llvm::pdb::NativeTypeTypedef::dump(), llvm::pdb::NativeTypePointer::dump(), llvm::pdb::NativeTypeEnum::dump(), llvm::pdb::NativeTypeFunctionSig::dump(), and llvm::pdb::NativeTypeUDT::dump().
detail::EndianAdapter<T> llvm::pdb::fmtle | ( | support::detail::packed_endian_specific_integral< T, support::little, support::unaligned > | Value | ) |
Definition at line 126 of file FormatUtil.h.
References move.
std::string llvm::pdb::formatChunkKind | ( | codeview::DebugSubsectionKind | Kind, |
bool | Friendly = true |
||
) |
Definition at line 50 of file FormatUtil.cpp.
References None, and RETURN_CASE.
std::string llvm::pdb::formatSectionCharacteristics | ( | uint32_t | IndentLevel, |
uint32_t | C, | ||
uint32_t | FlagsPerLine, | ||
StringRef | Separator, | ||
CharacteristicStyle | Style = CharacteristicStyle::HeaderDefinition |
||
) |
Definition at line 137 of file FormatUtil.cpp.
References llvm::COFF::IMAGE_SCN_ALIGN_1024BYTES, llvm::COFF::IMAGE_SCN_ALIGN_128BYTES, llvm::COFF::IMAGE_SCN_ALIGN_16BYTES, llvm::COFF::IMAGE_SCN_ALIGN_1BYTES, llvm::COFF::IMAGE_SCN_ALIGN_2048BYTES, llvm::COFF::IMAGE_SCN_ALIGN_256BYTES, llvm::COFF::IMAGE_SCN_ALIGN_2BYTES, llvm::COFF::IMAGE_SCN_ALIGN_32BYTES, llvm::COFF::IMAGE_SCN_ALIGN_4096BYTES, llvm::COFF::IMAGE_SCN_ALIGN_4BYTES, llvm::COFF::IMAGE_SCN_ALIGN_512BYTES, llvm::COFF::IMAGE_SCN_ALIGN_64BYTES, llvm::COFF::IMAGE_SCN_ALIGN_8192BYTES, llvm::COFF::IMAGE_SCN_ALIGN_8BYTES, llvm::COFF::IMAGE_SCN_CNT_CODE, llvm::COFF::IMAGE_SCN_CNT_INITIALIZED_DATA, llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA, llvm::COFF::IMAGE_SCN_GPREL, llvm::COFF::IMAGE_SCN_LNK_COMDAT, llvm::COFF::IMAGE_SCN_LNK_INFO, llvm::COFF::IMAGE_SCN_LNK_NRELOC_OVFL, llvm::COFF::IMAGE_SCN_LNK_OTHER, llvm::COFF::IMAGE_SCN_LNK_REMOVE, llvm::COFF::IMAGE_SCN_MEM_16BIT, llvm::COFF::IMAGE_SCN_MEM_DISCARDABLE, llvm::COFF::IMAGE_SCN_MEM_EXECUTE, llvm::COFF::IMAGE_SCN_MEM_LOCKED, llvm::COFF::IMAGE_SCN_MEM_NOT_CACHED, llvm::COFF::IMAGE_SCN_MEM_NOT_PAGED, llvm::COFF::IMAGE_SCN_MEM_PRELOAD, llvm::COFF::IMAGE_SCN_MEM_PURGEABLE, llvm::COFF::IMAGE_SCN_MEM_READ, llvm::COFF::IMAGE_SCN_MEM_SHARED, llvm::COFF::IMAGE_SCN_MEM_WRITE, llvm::COFF::IMAGE_SCN_TYPE_NO_PAD, llvm::COFF::IMAGE_SCN_TYPE_NOLOAD, PUSH_CHARACTERISTIC_FLAG, PUSH_MASKED_CHARACTERISTIC_FLAG, llvm::PPCISD::SC, llvm::COFF::SC_Invalid, and typesetItemList().
Definition at line 121 of file FormatUtil.cpp.
References llvm::formatv(), and Offset.
std::string llvm::pdb::formatSymbolKind | ( | codeview::SymbolKind | K | ) |
Definition at line 97 of file FormatUtil.cpp.
References formatUnknownEnum().
std::string llvm::pdb::formatTypeLeafKind | ( | codeview::TypeLeafKind | K | ) |
Definition at line 108 of file FormatUtil.cpp.
References llvm::formatv().
std::string llvm::pdb::formatUnknownEnum | ( | T | Value | ) |
Definition at line 36 of file FormatUtil.h.
References llvm::formatv().
Referenced by formatChecksumKind(), and formatSymbolKind().
Expected< ModuleDebugStreamRef > llvm::pdb::getModuleDebugStream | ( | PDBFile & | File, |
StringRef & | ModuleName, | ||
uint32_t | Index | ||
) |
Definition at line 38 of file InputFile.cpp.
References llvm::codeview::EC, kInvalidStreamIndex, llvm::pdb::DbiStream::modules(), move, llvm::pdb::ModuleDebugStreamRef::reload(), and llvm::Expected< T >::takeError().
Expected< ModuleDebugStreamRef > llvm::pdb::getModuleDebugStream | ( | PDBFile & | File, |
uint32_t | Index | ||
) |
Definition at line 68 of file InputFile.cpp.
References llvm::pdb::DbiModuleList::getModuleDescriptor(), kInvalidStreamIndex, llvm::pdb::DbiStream::modules(), move, and llvm::Expected< T >::takeError().
Definition at line 34 of file EnumTables.cpp.
References llvm::makeArrayRef(), and OMFSegMapDescFlagNames.
Definition at line 80 of file Hash.cpp.
References llvm::JamCRC::getCRC(), and llvm::JamCRC::update().
Referenced by getHashForUdt().
Definition at line 20 of file Hash.cpp.
Referenced by llvm::pdb::TpiStream::findRecordsByName(), getHashForUdt(), llvm::pdb::PDBStringTable::getIDForString(), getSourceLineHash(), getTagRecordHashForUdt(), llvm::pdb::NamedStreamMapTraits::hashLookupKey(), and llvm::pdb::NamedStreamMap::hashString().
Definition at line 56 of file Hash.cpp.
References llvm::ArrayRef< T >::data(), llvm::ArrayRef< T >::size(), and llvm::ArrayRef< T >::slice().
Referenced by llvm::pdb::PDBStringTable::getIDForString().
Expected< TagRecordHash > llvm::pdb::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.
Definition at line 88 of file TpiHashing.cpp.
References assert(), and llvm::inconvertibleErrorCode().
Referenced by llvm::pdb::TpiStream::findFullDeclForForwardRef().
Expected< uint32_t > llvm::pdb::hashTypeRecord | ( | const llvm::codeview::CVType & | Type | ) |
Definition at line 105 of file TpiHashing.cpp.
References llvm::codeview::CVRecord< Kind >::data(), llvm::JamCRC::getCRC(), llvm::codeview::CVRecord< Kind >::kind(), and llvm::JamCRC::update().
Error llvm::pdb::iterateModuleSubsections | ( | InputFile & | File, |
const PrintScope & | HeaderScope, | ||
llvm::function_ref< Error(uint32_t, const SymbolGroup &, SubsectionT &)> | Callback | ||
) |
Definition at line 205 of file InputFile.h.
References llvm::pdb::SymbolGroup::getDebugSubsections(), iterateSymbolGroups(), llvm::X86AS::SS, and llvm::Error::success().
Error llvm::pdb::iterateOneModule | ( | InputFile & | File, |
const PrintScope & | HeaderScope, | ||
const SymbolGroup & | SG, | ||
uint32_t | Modi, | ||
CallbackT | Callback | ||
) |
Definition at line 166 of file InputFile.h.
References llvm::fmt_align(), llvm::pdb::LinePrinter::formatLine(), llvm::pdb::PrintScope::LabelWidth, llvm::pdb::SymbolGroup::name(), llvm::pdb::PrintScope::P, and llvm::Right.
Referenced by iterateSymbolGroups().
Error llvm::pdb::iterateSymbolGroups | ( | InputFile & | Input, |
const PrintScope & | HeaderScope, | ||
CallbackT | Callback | ||
) |
Definition at line 178 of file InputFile.h.
References FilterOptions::DumpModi, llvm::pdb::LinePrinter::getFilters(), I, iterateOneModule(), NumDigits(), llvm::pdb::PrintScope::P, shouldDumpSymbolGroup(), and withLabelWidth().
Referenced by iterateModuleSubsections().
llvm::pdb::LLVM_ENABLE_BITMASK_ENUMS_IN_NAMESPACE | ( | ) |
Error llvm::pdb::loadDataForEXE | ( | PDB_ReaderType | Type, |
StringRef | Path, | ||
std::unique_ptr< IPDBSession > & | Session | ||
) |
Definition at line 35 of file PDB.cpp.
References llvm::pdb::DIASession::createFromExe(), llvm::pdb::NativeSession::createFromPdbPath(), dia_sdk_not_present, llvm::Expected< T >::get(), Native, Path, llvm::pdb::NativeSession::searchForPdb(), and llvm::Expected< T >::takeError().
Error llvm::pdb::loadDataForPDB | ( | PDB_ReaderType | Type, |
StringRef | Path, | ||
std::unique_ptr< IPDBSession > & | Session | ||
) |
Definition at line 22 of file PDB.cpp.
References llvm::pdb::DIASession::createFromPdb(), llvm::pdb::NativeSession::createFromPdbPath(), dia_sdk_not_present, Native, and Path.
|
inline |
Definition at line 37 of file DIAError.h.
References DIAErrCategory(), and E.
|
inline |
Definition at line 37 of file GenericError.h.
References E, and PDBErrCategory().
|
inline |
Definition at line 43 of file RawError.h.
References E, and RawErrCategory().
Returns the number of digits in the given integer.
Definition at line 64 of file FormatUtil.h.
References N.
Referenced by iterateSymbolGroups().
|
inline |
Definition at line 151 of file LinePrinter.h.
References Printer.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const codeview::ThunkOrdinal & | Thunk | ||
) |
Definition at line 188 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_NAME, and Thunk.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const llvm::codeview::CPURegister & | CpuReg | ||
) |
Definition at line 119 of file PDBExtras.cpp.
References llvm::codeview::ARM64, llvm::codeview::ARMNT, llvm::codeview::CPURegister::Cpu, and llvm::codeview::CPURegister::Reg.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_BuiltinType & | Type | ||
) |
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_CallingConv & | Conv | ||
) |
Definition at line 71 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_STR, and Generic.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_Checksum & | Checksum | ||
) |
Definition at line 202 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_NAME, and llvm::None.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_DataKind & | Data | ||
) |
Definition at line 103 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_STR, llvm::Data, FileStatic, Global, Local, Member, ObjectPtr, Param, StaticLocal, StaticMember, and Unknown.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_Lang & | Lang | ||
) |
Definition at line 213 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_NAME, CASE_OUTPUT_ENUM_CLASS_STR, llvm::codeview::Cobol, llvm::codeview::Cpp, llvm::codeview::CSharp, llvm::codeview::Cvtpgd, llvm::codeview::Cvtres, D, llvm::codeview::Fortran, llvm::codeview::ILAsm, llvm::codeview::Java, llvm::codeview::JScript, llvm::codeview::Link, llvm::codeview::Masm, and llvm::codeview::VB.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_LocType & | Loc | ||
) |
Definition at line 168 of file PDBExtras.cpp.
References BitField, CASE_OUTPUT_ENUM_CLASS_STR, Enregistered, IlRel, MetaData, RegRel, RegRelAliasIndir, Slot, ThisRel, and TLS.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_Machine & | Machine | ||
) |
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_MemberAccess & | Access | ||
) |
Definition at line 289 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_STR.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_SymType & | Tag | ||
) |
Definition at line 239 of file PDBExtras.cpp.
References Annotation, BaseClass, BaseInterface, Block, BuiltinType, Callee, Caller, CallSite, CASE_OUTPUT_ENUM_CLASS_NAME, CoffGroup, Compiland, CompilandDetails, CompilandEnv, CustomType, llvm::Data, Dimension, Enum, Exe, Export, FuncDebugEnd, FuncDebugStart, FunctionArg, FunctionSig, HeapAllocationSite, HLSLType, Inlinee, Label, ManagedType, MatrixType, PublicSymbol, Thunk, Typedef, UDT, UsingNamespace, VTable, and VTableShape.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_UdtType & | Type | ||
) |
Definition at line 299 of file PDBExtras.cpp.
References CASE_OUTPUT_ENUM_CLASS_STR, Struct, and Union.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const PDB_VariantType & | Value | ||
) |
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const TagStats & | Stats | ||
) |
Definition at line 403 of file PDBExtras.cpp.
References Stats.
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const Variant & | Value | ||
) |
raw_ostream & llvm::pdb::operator<< | ( | raw_ostream & | OS, |
const VersionInfo & | Version | ||
) |
Definition at line 397 of file PDBExtras.cpp.
References llvm::IndexedInstrProf::Version.
const std::error_category & llvm::pdb::PDBErrCategory | ( | ) |
Definition at line 46 of file GenericError.cpp.
References PDBCategory.
Referenced by make_error_code().
const std::error_category & llvm::pdb::RawErrCategory | ( | ) |
Definition at line 51 of file RawError.cpp.
References RawCategory.
Referenced by make_error_code().
Error llvm::pdb::readSparseBitVector | ( | BinaryStreamReader & | Stream, |
SparseBitVector<> & | V | ||
) |
Definition at line 21 of file HashTable.cpp.
References corrupt_file, I, llvm::joinErrors(), move, llvm::SparseBitVector< ElementSize >::set(), and llvm::Error::success().
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::load().
bool llvm::pdb::shouldDumpSymbolGroup | ( | uint32_t | Idx, |
const SymbolGroup & | Group, | ||
const FilterOptions & | Filters | ||
) |
Definition at line 576 of file InputFile.cpp.
References FilterOptions::DumpModi, isMyCode(), and FilterOptions::JustMyCode.
Referenced by iterateSymbolGroups().
std::string llvm::pdb::typesetItemList | ( | ArrayRef< std::string > | Opts, |
uint32_t | IndentLevel, | ||
uint32_t | GroupSize, | ||
StringRef | Sep | ||
) |
Definition at line 22 of file FormatUtil.cpp.
References llvm::ArrayRef< T >::drop_front(), llvm::ArrayRef< T >::empty(), llvm::fmt_repeat(), llvm::formatv(), llvm::ArrayRef< T >::size(), and llvm::ArrayRef< T >::take_front().
Referenced by formatSectionCharacteristics().
Definition at line 40 of file FormatUtil.cpp.
|
inline |
Definition at line 128 of file LinePrinter.h.
References llvm::RISCVFenceField::W.
Referenced by iterateSymbolGroups().
Error llvm::pdb::writeSparseBitVector | ( | BinaryStreamWriter & | Writer, |
SparseBitVector<> & | Vec | ||
) |
Definition at line 43 of file HashTable.cpp.
References llvm::alignTo(), corrupt_file, llvm::SparseBitVector< ElementSize >::find_last(), I, llvm::joinErrors(), move, llvm::Error::success(), llvm::SparseBitVector< ElementSize >::test(), and llvm::BinaryStreamWriter::writeInteger().
Referenced by llvm::pdb::HashTable< llvm::support::detail::packed_endian_specific_integral >::commit().
Definition at line 19 of file RawConstants.h.
Referenced by llvm::pdb::TpiStreamBuilder::commit(), llvm::pdb::DbiStreamBuilder::commit(), llvm::pdb::DbiModuleDescriptorBuilder::commitSymbolStream(), llvm::pdb::PDBFile::createIndexedStream(), llvm::pdb::DbiModuleDescriptorBuilder::finalize(), llvm::pdb::DbiModuleDescriptorBuilder::finalizeMsfLayout(), llvm::pdb::DbiStream::getDebugStreamIndex(), llvm::pdb::NativeSession::getModuleDebugStream(), getModuleDebugStream(), llvm::pdb::TpiStream::reload(), and llvm::pdb::ModuleDebugStreamRef::reload().
Definition at line 301 of file RawTypes.h.
Referenced by llvm::pdb::TpiStreamBuilder::finalizeMsfLayout(), and llvm::pdb::TpiStream::reload().
Definition at line 300 of file RawTypes.h.
Referenced by llvm::pdb::TpiStream::reload().
Definition at line 318 of file RawTypes.h.