blob: ce131422a2520b0446f1e7824be60ae92a1b8517 [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 Turnerbae16b32015-02-08 20:58:09 +000018PDBSymbolCustom::PDBSymbolCustom(IPDBSession &PDBSession,
19 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 {}