1 //===- PDBSymbolCustom.cpp - compiler-specific types ------------*- 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 "llvm/DebugInfo/PDB/IPDBRawSymbol.h" 11 #include "llvm/DebugInfo/PDB/PDBSymbol.h" 12 #include "llvm/DebugInfo/PDB/PDBSymbolCustom.h" 13 #include <utility> 14 15 using namespace llvm; 16 17 PDBSymbolCustom::PDBSymbolCustom(const IPDBSession &PDBSession, 18 std::unique_ptr<IPDBRawSymbol> CustomSymbol) 19 : PDBSymbol(PDBSession, std::move(CustomSymbol)) {} 20 21 void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) { 22 RawSymbol->getDataBytes(bytes); 23 } 24 25 void PDBSymbolCustom::dump(raw_ostream &OS, int Indent, 26 PDB_DumpLevel Level) const {}