blob: 449151d8393b62914677fb5ab3bf6891bb80804a [file] [log] [blame]
Zachary Turner0e9e6632015-02-06 20:30:52 +00001//===- 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 <utility>
11
12#include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
13#include "llvm/DebugInfo/PDB/PDBSymbol.h"
14#include "llvm/DebugInfo/PDB/PDBSymbolCustom.h"
15
16using namespace llvm;
17
Zachary Turner21473f72015-02-08 00:29:29 +000018PDBSymbolCustom::PDBSymbolCustom(std::unique_ptr<IPDBRawSymbol> CustomSymbol)
19 : PDBSymbol(std::move(CustomSymbol)) {}
20
Zachary Turner0e9e6632015-02-06 20:30:52 +000021void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
22 RawSymbol->getDataBytes(bytes);
23}
Zachary Turner21473f72015-02-08 00:29:29 +000024
25void PDBSymbolCustom::dump(llvm::raw_ostream &OS) const {}