[llvm] r327431 - Implement pure virtual method to fix build.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 13 10:58:28 PDT 2018
Author: zturner
Date: Tue Mar 13 10:58:28 2018
New Revision: 327431
URL: http://llvm.org/viewvc/llvm-project?rev=327431&view=rev
Log:
Implement pure virtual method to fix build.
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=327431&r1=327430&r2=327431&view=diff
==============================================================================
--- llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp (original)
+++ llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp Tue Mar 13 10:58:28 2018
@@ -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<IPDBEnumTables> getEnumTables() const override {
return nullptr;
}
+
+ std::unique_ptr<IPDBEnumInjectedSources> getInjectedSources() const override {
+ return nullptr;
+ }
};
class MockRawSymbol : public IPDBRawSymbol {
More information about the llvm-commits
mailing list