diff options
author | Eugene Zemtsov <ezemtsov@google.com> | 2017-03-07 21:34:40 +0000 |
---|---|---|
committer | Eugene Zemtsov <ezemtsov@google.com> | 2017-03-07 21:34:40 +0000 |
commit | 7993cc5eed5b9da08d169e706dbcd7ee90560192 (patch) | |
tree | 492a65a616c3d7564d815cbdc23ee61b4b8c4bde /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | a03cbcc6a6030e29437543871fb78520e31cfd02 (diff) | |
download | bcm5719-llvm-7993cc5eed5b9da08d169e706dbcd7ee90560192.tar.gz bcm5719-llvm-7993cc5eed5b9da08d169e706dbcd7ee90560192.zip |
Make LLDB skip server-client roundtrip for signals that don't require any actions
If QPassSignals packaet is supported by lldb-server, lldb-client will
utilize it and ask the server to ignore signals that don't require stops
or notifications.
Such signals will be immediately re-injected into inferior to continue
normal execution.
Differential Revision: https://reviews.llvm.org/D30520
llvm-svn: 297231
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index bb00af8ae6c..ec8827ad102 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -397,12 +397,15 @@ protected: lldb::addr_t base_addr, bool value_is_offset); + Error UpdateAutomaticSignalFiltering() override; + private: //------------------------------------------------------------------ // For ProcessGDBRemote only //------------------------------------------------------------------ std::string m_partial_profile_data; std::map<uint64_t, uint32_t> m_thread_id_to_used_usec_map; + uint64_t m_last_signals_version = 0; static bool NewThreadNotifyBreakpointHit(void *baton, StoppointCallbackContext *context, |