summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
index 4f838a0ded6..5c9b377ba4b 100644
--- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
+++ b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp
@@ -75,8 +75,11 @@ class MockSession : public IPDBSession {
std::unique_ptr<PDBSymbolExe> getGlobalScope() const override {
return nullptr;
}
- std::unique_ptr<PDBSymbol> getSymbolById() const override { return nullptr; }
- std::unique_ptr<IPDBSourceFile> getSourceFileById() const override {
+ std::unique_ptr<PDBSymbol> getSymbolById(uint32_t SymbolId) const override {
+ return nullptr;
+ }
+ std::unique_ptr<IPDBSourceFile>
+ getSourceFileById(uint32_t SymbolId) const override {
return nullptr;
}
std::unique_ptr<IPDBEnumDataStreams> getDebugStreams() const override {
OpenPOWER on IntegriCloud