From 4a42778d9da6b2a05ee510f25f693854431d4454 Mon Sep 17 00:00:00 2001 From: Aaron Smith Date: Tue, 10 Apr 2018 18:12:49 +0000 Subject: [PATCH] [DebugInfoPDB] Add missing test for findSymbolByRVA and findSymbolByAddr llvm-svn: 329733 --- unittests/DebugInfo/PDB/PDBApiTest.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/unittests/DebugInfo/PDB/PDBApiTest.cpp b/unittests/DebugInfo/PDB/PDBApiTest.cpp index 0e439a6237d..41b679825f1 100644 --- a/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/unittests/DebugInfo/PDB/PDBApiTest.cpp @@ -87,6 +87,15 @@ class MockSession : public IPDBSession { findSymbolByAddress(uint64_t Address, PDB_SymType Type) const override { return nullptr; } + std::unique_ptr findSymbolByRVA(uint32_t RVA, + PDB_SymType Type) const override { + return nullptr; + } + std::unique_ptr + findSymbolBySectOffset(uint32_t Sect, uint32_t Offset, + PDB_SymType Type) const override { + return nullptr; + } std::unique_ptr findLineNumbers(const PDBSymbolCompiland &Compiland, const IPDBSourceFile &File) const override {