diff options
author | Zachary Turner <zturner@google.com> | 2015-02-08 00:29:29 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2015-02-08 00:29:29 +0000 |
commit | e642985be95bdf8ecca36652b3c560b434af71cf (patch) | |
tree | 3a502ff56f375dfd0e5c9a91964a0abf93fa05f5 /lib/DebugInfo/PDB/PDBSymbolCustom.cpp | |
parent | 3e7edda4aab617e7c801e5e2edfda8a6bdb19794 (diff) |
Some cleanup for libpdb.
This patch implements a few of the optional suggestions from the
initial patch comitting libpdb. In particular, it implements a
virtual function out of line for each of the concrete classes.
A few other minor cleanups exist as well, such as using override
instead of virtual, etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/DebugInfo/PDB/PDBSymbolCustom.cpp')
-rw-r--r-- | lib/DebugInfo/PDB/PDBSymbolCustom.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/DebugInfo/PDB/PDBSymbolCustom.cpp b/lib/DebugInfo/PDB/PDBSymbolCustom.cpp index aa1a8ed6e0b..449151d8393 100644 --- a/lib/DebugInfo/PDB/PDBSymbolCustom.cpp +++ b/lib/DebugInfo/PDB/PDBSymbolCustom.cpp @@ -15,6 +15,11 @@ using namespace llvm; +PDBSymbolCustom::PDBSymbolCustom(std::unique_ptr<IPDBRawSymbol> CustomSymbol) + : PDBSymbol(std::move(CustomSymbol)) {} + void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) { RawSymbol->getDataBytes(bytes); } + +void PDBSymbolCustom::dump(llvm::raw_ostream &OS) const {}
\ No newline at end of file |