diff options
| author | 2019-06-23 21:36:31 +0000 | |
|---|---|---|
| committer | 2019-06-23 21:36:31 +0000 | |
| commit | 23f101f37937a1bd4a29726cab2f76e0fb038b35 (patch) | |
| tree | f7da7d6b32c2e07114da399150bfa88d72187012 /gnu/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | |
| parent | sort previous; ok deraadt (diff) | |
| download | wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.tar.xz wireguard-openbsd-23f101f37937a1bd4a29726cab2f76e0fb038b35.zip | |
Import LLVM 8.0.0 release including clang, lld and lldb.
Diffstat (limited to 'gnu/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp')
| -rw-r--r-- | gnu/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp b/gnu/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp index 41b679825f1..007ea904085 100644 --- a/gnu/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp +++ b/gnu/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp @@ -68,7 +68,7 @@ class MockSession : public IPDBSession { uint64_t getLoadAddress() const override { return 0; } bool setLoadAddress(uint64_t Address) override { return false; } std::unique_ptr<PDBSymbolExe> getGlobalScope() override { return nullptr; } - std::unique_ptr<PDBSymbol> getSymbolById(uint32_t SymbolId) const override { + std::unique_ptr<PDBSymbol> getSymbolById(SymIndexId SymbolId) const override { return nullptr; } std::unique_ptr<IPDBSourceFile> @@ -159,6 +159,10 @@ class MockSession : public IPDBSession { std::unique_ptr<IPDBEnumSectionContribs> getSectionContribs() const override { return nullptr; } + + std::unique_ptr<IPDBEnumFrameData> getFrameData() const override { + return nullptr; + } }; class MockRawSymbol : public IPDBRawSymbol { @@ -166,7 +170,8 @@ public: MockRawSymbol(PDB_SymType SymType) : Type(SymType) {} - void dump(raw_ostream &OS, int Indent) const override {} + void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, + PdbSymbolIdField RecurseIdFields) const override {} std::unique_ptr<IPDBEnumSymbols> findChildren(PDB_SymType Type) const override { |
