LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/NativeEnumGlobals.h"
Public Member Functions | |
NativeEnumGlobals (NativeSession &Session, std::vector< codeview::SymbolKind > Kinds) | |
uint32_t | getChildCount () const override |
std::unique_ptr< PDBSymbol > | getChildAtIndex (uint32_t Index) const override |
std::unique_ptr< PDBSymbol > | getNext () override |
void | reset () override |
Public Member Functions inherited from llvm::pdb::IPDBEnumChildren< PDBSymbol > | |
virtual | ~IPDBEnumChildren ()=default |
virtual uint32_t | getChildCount () const=0 |
virtual ChildTypePtr | getChildAtIndex (uint32_t Index) const=0 |
virtual ChildTypePtr | getNext ()=0 |
virtual void | reset ()=0 |
Additional Inherited Members | |
Public Types inherited from llvm::pdb::IPDBEnumChildren< PDBSymbol > | |
using | ChildTypePtr = std::unique_ptr< PDBSymbol > |
using | MyType = IPDBEnumChildren< PDBSymbol > |
Definition at line 23 of file NativeEnumGlobals.h.
NativeEnumGlobals::NativeEnumGlobals | ( | NativeSession & | Session, |
std::vector< codeview::SymbolKind > | Kinds | ||
) |
Definition at line 24 of file NativeEnumGlobals.cpp.
References llvm::cantFail(), llvm::pdb::NativeSession::getPDBFile(), llvm::pdb::PDBFile::getPDBGlobalsStream(), llvm::pdb::PDBFile::getPDBSymbolStream(), llvm::is_contained(), and llvm::codeview::CVRecord< Kind >::kind().
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 42 of file NativeEnumGlobals.cpp.
References llvm::pdb::SymbolCache::getOrCreateGlobalSymbolByOffset(), llvm::pdb::SymbolCache::getSymbolById(), llvm::pdb::NativeSession::getSymbolCache(), and N.
Referenced by getNext().
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 37 of file NativeEnumGlobals.cpp.
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 51 of file NativeEnumGlobals.cpp.
References getChildAtIndex().
|
overridevirtual |
Implements llvm::pdb::IPDBEnumChildren< PDBSymbol >.
Definition at line 55 of file NativeEnumGlobals.cpp.