DebugInfoPDB: Make the symbol base case hold an IPDBSession ref.
[oota-llvm.git] / lib / DebugInfo / PDB / PDBSymbolCompilandEnv.cpp
1 //===- PDBSymbolCompilandEnv.cpp - compiland env variables ------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include <utility>
11
12 #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
13 #include "llvm/DebugInfo/PDB/PDBSymbol.h"
14 #include "llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h"
15
16 using namespace llvm;
17
18 PDBSymbolCompilandEnv::PDBSymbolCompilandEnv(
19     IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
20     : PDBSymbol(PDBSession, std::move(Symbol)) {}
21
22 std::string PDBSymbolCompilandEnv::getValue() const {
23   // call RawSymbol->getValue() and convert the result to an std::string.
24   return std::string();
25 }
26
27 void PDBSymbolCompilandEnv::dump(llvm::raw_ostream &OS) const {}