create overloads

Synopses

Declared in <llvm/DebugInfo/PDB/PDBSymbol.h>

Create a typed PDB symbol that takes ownership of RawSymbol.

static
std::unique_ptr<PDBSymbol>
create(
    IPDBSession const& PDBSession,
    std::unique_ptr<IPDBRawSymbol> RawSymbol);

Create a typed PDB symbol that references an existing raw symbol.

static
std::unique_ptr<PDBSymbol>
create(
    IPDBSession const& PDBSession,
    IPDBRawSymbol& RawSymbol);

Return Value

A concrete PDBSymbol subclass matching the raw symbol's tag.

Parameters

Name

Description

PDBSession

Session that provides the symbol context.

RawSymbol

Underlying raw symbol to wrap; ownership is transferred.

Created with MrDocs