Create a symbol and cast it to the concrete type ConcreteT.
Synopses
Declared in <llvm/DebugInfo/PDB/PDBSymbol.h>
Create a symbol and cast it to the concrete type ConcreteT.
template<typename ConcreteT>
static
std::unique_ptr<ConcreteT>
createAs(
IPDBSession const& PDBSession,
std::unique_ptr<IPDBRawSymbol> RawSymbol);
Create a symbol and cast it to the concrete type ConcreteT.
template<typename ConcreteT>
static
std::unique_ptr<ConcreteT>
createAs(
IPDBSession const& PDBSession,
IPDBRawSymbol& RawSymbol);
Return Value
The symbol as ConcreteT, or nullptr if the tag does not match.
Parameters
Name |
Description |
PDBSession |
Session that provides the symbol context. |
RawSymbol |
Underlying raw symbol to wrap; ownership is transferred. |
Created with MrDocs