[llvm] r228758 - Add missing function and header include.

Zachary Turner zturner at google.com
Tue Feb 10 14:56:21 PST 2015


Author: zturner
Date: Tue Feb 10 16:56:21 2015
New Revision: 228758

URL: http://llvm.org/viewvc/llvm-project?rev=228758&view=rev
Log:
Add missing function and header include.

Modified:
    llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp

Modified: llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp?rev=228758&r1=228757&r2=228758&view=diff
==============================================================================
--- llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp (original)
+++ llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp Tue Feb 10 16:56:21 2015
@@ -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 {





More information about the llvm-commits mailing list