summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-11-13 15:37:24 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2019-11-13 15:37:57 -0800
commit33c3e0b96c14e5986fec778625c1e2a37b452956 (patch)
tree9e28e33c3cdd0b6b83cb43882ae79a5e22e71bb0
parent364d1785a6e3f9b149cef29849e653abe5548cc2 (diff)
downloadbcm5719-llvm-33c3e0b96c14e5986fec778625c1e2a37b452956.tar.gz
bcm5719-llvm-33c3e0b96c14e5986fec778625c1e2a37b452956.zip
[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.
-rw-r--r--lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h b/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
index 76f92d84be0..53e94a39e8b 100644
--- a/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
+++ b/lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
@@ -46,6 +46,8 @@ public:
return dst_len;
};
+ lldb::IOObjectSP GetReadObject() { return lldb::IOObjectSP(); }
+
std::vector<std::string> *m_packets;
};
OpenPOWER on IntegriCloud