blob: 0d44334f1025267fe3e10f5616f209f3b108eb6d [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 Turner98571ed2015-02-08 22:53:53 +000018PDBSymbolCustom::PDBSymbolCustom(const IPDBSession &PDBSession,
Zachary Turnerbae16b32015-02-08 20:58:09 +000019 std::unique_ptr<IPDBRawSymbol> CustomSymbol)
20 : PDBSymbol(PDBSession, std::move(CustomSymbol)) {}
Zachary Turner21473f72015-02-08 00:29:29 +000021
Zachary Turner0e9e6632015-02-06 20:30:52 +000022void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
23 RawSymbol->getDataBytes(bytes);
24}
Zachary Turner21473f72015-02-08 00:29:29 +000025
26void PDBSymbolCustom::dump(llvm::raw_ostream &OS) const {}