10 #ifndef LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H
11 #define LLVM_DEBUGINFO_PDB_IPDBSYMBOL_H
20 #define FORWARD_SYMBOL_METHOD(MethodName) \
21 auto MethodName() const->decltype(RawSymbol->MethodName()) { \
22 return RawSymbol->MethodName(); \
33 #define DECLARE_PDB_SYMBOL_CONCRETE_TYPE(TagValue) \
34 static const PDB_SymType Tag = TagValue; \
35 static bool classof(const PDBSymbol *S) { return S->getSymTag() == Tag; }
46 std::unique_ptr<IPDBRawSymbol>
Symbol);
49 static std::unique_ptr<PDBSymbol>
72 return llvm::make_unique<ConcreteSymbolEnumerator<T>>(std::move(BaseIter));
77 std::unique_ptr<IPDBEnumSymbols>
const IPDBSession & getSession() const
IPDBSession defines an interface used to provide a context for querying debug information from a debu...
std::unique_ptr< ConcreteSymbolEnumerator< T > > findAllChildren() const
PDB_NameSearchFlags
Defines flags used for enumerating child symbols.
IPDBRawSymbol & getRawSymbol()
std::unique_ptr< IPDBEnumSymbols > findChildrenByRVA(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t RVA) const
const std::unique_ptr< IPDBRawSymbol > RawSymbol
PDBSymbol(const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > Symbol)
struct fuzzer::@269 Flags
static std::unique_ptr< PDBSymbol > create(const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > Symbol)
block placement Basic Block Placement Stats
std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags) const
void defaultDump(raw_ostream &OS, int Indent) const
std::unique_ptr< IPDBEnumSymbols > findInlineFramesByRVA(uint32_t RVA) const
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
The instances of the Type class are immutable: once they are created, they are never changed...
std::unique_ptr< IPDBEnumSymbols > getChildStats(TagStats &Stats) const
std::unique_ptr< T > findOneChild() const
IPDBRawSymbol defines an interface used to represent an arbitrary symbol.
PDB_SymType getSymTag() const
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
virtual void dump(PDBSymDumper &Dumper) const =0
Dumps the contents of a symbol a raw_ostream.
const IPDBRawSymbol & getRawSymbol() const
const IPDBSession & Session
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
std::unordered_map< PDB_SymType, int > TagStats
uint32_t getSymIndexId() const