LLVM  4.0.0
PDBSymbolCustom.cpp
Go to the documentation of this file.
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 
11 
15 
16 #include <utility>
17 
18 using namespace llvm;
19 using namespace llvm::pdb;
20 
22  std::unique_ptr<IPDBRawSymbol> CustomSymbol)
23  : PDBSymbol(PDBSession, std::move(CustomSymbol)) {}
24 
26  RawSymbol->getDataBytes(bytes);
27 }
28 
29 void PDBSymbolCustom::dump(PDBSymDumper &Dumper) const { Dumper.dump(*this); }
IPDBSession defines an interface used to provide a context for querying debug information from a debu...
Definition: IPDBSession.h:25
const std::unique_ptr< IPDBRawSymbol > RawSymbol
Definition: PDBSymbol.h:95
PDBSymbolCustom(const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > CustomSymbol)
void getDataBytes(llvm::SmallVector< uint8_t, 32 > &bytes)
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e...
Definition: PDBSymbol.h:43
virtual void dump(const PDBSymbolAnnotation &Symbol)
void dump(PDBSymDumper &Dumper) const override
Dumps the contents of a symbol a raw_ostream.