Add missing function and header include.
authorZachary Turner <zturner@google.com>
Tue, 10 Feb 2015 22:56:21 +0000 (22:56 +0000)
committerZachary Turner <zturner@google.com>
Tue, 10 Feb 2015 22:56:21 +0000 (22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228758 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/DebugInfo/PDB/PDBApiTest.cpp

index fd65d10dfed75fb1eae1fc2e5539149a2d1e6e12..1917097c7833626727ac5b55845aa6129678bed5 100644 (file)
@@ -7,6 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include <memory>
 #include <unordered_map>
 
 #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h"
@@ -78,6 +79,10 @@ class MockSession : public IPDBSession {
       const PDBSymbolCompiland &Compiland) const override {
     return nullptr;
   }
+
+  std::unique_ptr<IPDBEnumDataStreams> getDebugStreams() const override {
+    return nullptr;
+  }
 };
 
 class MockRawSymbol : public IPDBRawSymbol {