1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00

[DebugInfoPDB] Add missing test for findSymbolByRVA and findSymbolByAddr

llvm-svn: 329733
This commit is contained in:
Aaron Smith 2018-04-10 18:12:49 +00:00
parent 65e7849dc2
commit 4a42778d9d

View File

@ -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 {