diff options
author | Aaron Smith <aaron.smith@microsoft.com> | 2018-04-10 18:12:49 +0000 |
---|---|---|
committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-04-10 18:12:49 +0000 |
commit | 860f0a5dd8a34be5cda8b32faf17c558342c8687 (patch) | |
tree | a5c4f026802cf55fb62c6111b77d8b5d9db75469 /llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | |
parent | 40ad9262bc84a601be81a7864780db8c7f0ab984 (diff) | |
download | bcm5719-llvm-860f0a5dd8a34be5cda8b32faf17c558342c8687.tar.gz bcm5719-llvm-860f0a5dd8a34be5cda8b32faf17c558342c8687.zip |
[DebugInfoPDB] Add missing test for findSymbolByRVA and findSymbolByAddr
llvm-svn: 329733
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp index 0e439a6237d..41b679825f1 100644 --- a/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/llvm/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<PDBSymbol> findSymbolByRVA(uint32_t RVA, + PDB_SymType Type) const override { + return nullptr; + } + std::unique_ptr<PDBSymbol> + findSymbolBySectOffset(uint32_t Sect, uint32_t Offset, + PDB_SymType Type) const override { + return nullptr; + } std::unique_ptr<IPDBEnumLineNumbers> findLineNumbers(const PDBSymbolCompiland &Compiland, const IPDBSourceFile &File) const override { |