18 using namespace llvm::pdb;
21 std::unique_ptr<IPDBRawSymbol>
Symbol)
22 :
PDBSymbol(PDBSession, std::move(Symbol)) {}
30 std::string Result =
RawSymbol->getSourceFileName();
33 auto Envs = findAllChildren<PDBSymbolCompilandEnv>();
36 while (
auto Env = Envs->getNext()) {
37 std::string Var = Env->getName();
40 std::string
Value = Env->getValue();
IPDBSession defines an interface used to provide a context for querying debug information from a debu...
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.
std::string getSourceFileName() const
const std::unique_ptr< IPDBRawSymbol > RawSymbol
PDBSymbolCompiland(const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > CompilandSymbol)
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
virtual void dump(const PDBSymbolAnnotation &Symbol)
LLVM Value Representation.