From a389c84df5e689ce05270040593c3146ae14e4f5 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 13 Mar 2018 17:58:28 +0000 Subject: [PATCH] Implement pure virtual method to fix build. llvm-svn: 327431 --- llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp index f70fca7..4cc47aa 100644 --- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp @@ -11,6 +11,7 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/DebugInfo/PDB/IPDBEnumChildren.h" +#include "llvm/DebugInfo/PDB/IPDBInjectedSource.h" #include "llvm/DebugInfo/PDB/IPDBLineNumber.h" #include "llvm/DebugInfo/PDB/IPDBRawSymbol.h" #include "llvm/DebugInfo/PDB/IPDBSession.h" @@ -124,6 +125,10 @@ class MockSession : public IPDBSession { std::unique_ptr getEnumTables() const override { return nullptr; } + + std::unique_ptr getInjectedSources() const override { + return nullptr; + } }; class MockRawSymbol : public IPDBRawSymbol { -- 2.7.4