PDBSymbolCompilandEnv.cpp 987 B

12345678910111213141516171819202122232425262728293031
  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. #include "llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h"
  10. #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
  11. #include "llvm/DebugInfo/PDB/PDBSymbol.h"
  12. #include "llvm/DebugInfo/PDB/PDBSymDumper.h"
  13. #include <utility>
  14. using namespace llvm;
  15. PDBSymbolCompilandEnv::PDBSymbolCompilandEnv(
  16. const IPDBSession &PDBSession, std::unique_ptr<IPDBRawSymbol> Symbol)
  17. : PDBSymbol(PDBSession, std::move(Symbol)) {}
  18. std::string PDBSymbolCompilandEnv::getValue() const {
  19. // call RawSymbol->getValue() and convert the result to an std::string.
  20. return std::string();
  21. }
  22. void PDBSymbolCompilandEnv::dump(PDBSymDumper &Dumper) const {
  23. Dumper.dump(*this);
  24. }