[llvm] r228752 - Fix build due to mismatched function signatures.

Zachary Turner zturner at google.com
Tue Feb 10 13:40:29 PST 2015


Author: zturner
Date: Tue Feb 10 15:40:29 2015
New Revision: 228752

URL: http://llvm.org/viewvc/llvm-project?rev=228752&view=rev
Log:
Fix build due to mismatched function signatures.

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=228752&r1=228751&r2=228752&view=diff
==============================================================================
--- llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp (original)
+++ llvm/trunk/unittests/DebugInfo/PDB/PDBApiTest.cpp Tue Feb 10 15:40:29 2015
@@ -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 {





More information about the llvm-commits mailing list