[Lldb-commits] [lldb] 33c3e0b - [LLDB] Implement pure virtual method in MockConnection
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 13 15:38:04 PST 2019
Author: Jonas Devlieghere
Date: 2019-11-13T15:37:57-08:00
New Revision: 33c3e0b96c14e5986fec778625c1e2a37b452956
URL: https://github.com/llvm/llvm-project/commit/33c3e0b96c14e5986fec778625c1e2a37b452956
DIFF: https://github.com/llvm/llvm-project/commit/33c3e0b96c14e5986fec778625c1e2a37b452956.diff
LOG: [LLDB] Implement pure virtual method in MockConnection
I made GetReadObject pure virtual in the base class and forgot to add
the method to the mock class.
Added:
Modified:
lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
Removed:
################################################################################
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h b/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
index 76f92d84be04..53e94a39e8b3 100644
--- a/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
+++ b/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
@@ -46,6 +46,8 @@ class MockConnection : public lldb_private::Connection {
return dst_len;
};
+ lldb::IOObjectSP GetReadObject() { return lldb::IOObjectSP(); }
+
std::vector<std::string> *m_packets;
};
More information about the lldb-commits
mailing list