summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-06 20:30:52 +0000
committerZachary Turner <zturner@google.com>2015-02-06 20:30:52 +0000
commit0e9e66330a20e00d1727af0fe80ac7957995f4a1 (patch)
treeacc39c82a8e3bbc72b1158534adbfba94b9ffd4f /llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp
parent7af83c1f39e999a51e19ba7116c9046af18a078b (diff)
downloadbcm5719-llvm-0e9e66330a20e00d1727af0fe80ac7957995f4a1.tar.gz
bcm5719-llvm-0e9e66330a20e00d1727af0fe80ac7957995f4a1.zip
Resubmit "Create lib/DebugInfo/PDB" (r228428)
This change resubmits the patch that broke the build, this time without unittests. The unittests will be submitted separately after the problem has been addressed: --Original Commit Message-- Create lib/DebugInfo/PDB. This patch creates a platform-independent interface to a PDB reader. There is currently no implementation of this interface, which will be provided in future patches. This defines the basic object model which any implementation must conform to. Reviewed by: David Blaikie Differential Revision: http://reviews.llvm.org/D7356 llvm-svn: 228435
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp')
-rw-r--r--llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp b/llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp
new file mode 100644
index 00000000000..aa1a8ed6e0b
--- /dev/null
+++ b/llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp
@@ -0,0 +1,20 @@
+//===- 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;
+
+void PDBSymbolCustom::getDataBytes(llvm::SmallVector<uint8_t, 32> &bytes) {
+ RawSymbol->getDataBytes(bytes);
+}
OpenPOWER on IntegriCloud