1 //===- PDBSymbolCompilandEnv.cpp - compiland env variables ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h"
12 #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
13 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
14 #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
20 PDBSymbolCompilandEnv::PDBSymbolCompilandEnv(
21 const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
22 : PDBSymbol(PDBSession, std::move(Symbol)) {}
24 std::string PDBSymbolCompilandEnv::getValue() const {
25 // call RawSymbol->getValue() and convert the result to an std::string.
29 void PDBSymbolCompilandEnv::dump(PDBSymDumper &Dumper) const {