Zachary Turner | 0e9e663 | 2015-02-06 20:30:52 +0000 | [diff] [blame] | 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 | |
Zachary Turner | 21473f7 | 2015-02-08 00:29:29 +0000 | [diff] [blame] | 18 | PDBSymbolCompilandEnv::PDBSymbolCompilandEnv( |
Zachary Turner | bae16b3 | 2015-02-08 20:58:09 +0000 | [diff] [blame^] | 19 | IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol) |
| 20 | : PDBSymbol(PDBSession, std::move(Symbol)) {} |
Zachary Turner | 21473f7 | 2015-02-08 00:29:29 +0000 | [diff] [blame] | 21 | |
Zachary Turner | 0e9e663 | 2015-02-06 20:30:52 +0000 | [diff] [blame] | 22 | std::string PDBSymbolCompilandEnv::getValue() const { |
| 23 | // call RawSymbol->getValue() and convert the result to an std::string. |
| 24 | return std::string(); |
| 25 | } |
Zachary Turner | 21473f7 | 2015-02-08 00:29:29 +0000 | [diff] [blame] | 26 | |
| 27 | void PDBSymbolCompilandEnv::dump(llvm::raw_ostream &OS) const {} |