2015-02-06 20:30:52 +00:00
|
|
|
//===- PDBSymbolCustom.cpp - compiler-specific types ------------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include <utility>
|
|
|
|
|
|
|
|
#include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbol.h"
|
|
|
|
#include "llvm/DebugInfo/PDB/PDBSymbolCustom.h"
|
|
|
|
|
|
|
|
using namespace llvm;
|
|
|
|
|
2015-02-08 20:58:09 +00:00
|
|
|
PDBSymbolCustom::PDBSymbolCustom(IPDBSession &PDBSession,
|
|
|
|
std::unique_ptr<IPDBRawSymbol> CustomSymbol)
|
|
|
|
: PDBSymbol(PDBSession, std::move(CustomSymbol)) {}
|
2015-02-08 00:29:29 +00:00
|
|
|
|
2015-02-06 20:30:52 +00:00
|
|
|
void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
|
|
|
|
RawSymbol->getDataBytes(bytes);
|
|
|
|
}
|
2015-02-08 00:29:29 +00:00
|
|
|
|
|
|
|
void PDBSymbolCustom::dump(llvm::raw_ostream &OS) const {}
|