diff options
author | David Spickett <david.spickett@linaro.org> | 2021-02-19 15:32:09 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2021-06-24 15:43:20 +0100 |
commit | 8d58fbd09efb443d92842a0d101348cda06d7253 (patch) | |
tree | fc57fbc0f45425718fabe537a7bea3632ca633f5 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | d57a5879ab6781a58020d3a878c617266d939e51 (diff) | |
download | llvm-8d58fbd09efb443d92842a0d101348cda06d7253.zip llvm-8d58fbd09efb443d92842a0d101348cda06d7253.tar.gz llvm-8d58fbd09efb443d92842a0d101348cda06d7253.tar.bz2 |
[lldb][AArch64] Add memory-tagging qSupported feature
This feature "memory-tagging+" indicates that lldb-server
supports memory tagging packets. (added in a later patch)
We check HWCAP2_MTE to decide whether to enable this
feature for Linux.
Reviewed By: omjavaid
Differential Revision: https://reviews.llvm.org/D97282
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index b6982f4..71c6467 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -3608,6 +3608,8 @@ std::vector<std::string> GDBRemoteCommunicationServerLLGS::HandleFeatures( ret.push_back("qXfer:auxv:read+"); if (bool(plugin_features & Extension::libraries_svr4)) ret.push_back("qXfer:libraries-svr4:read+"); + if (bool(plugin_features & Extension::memory_tagging)) + ret.push_back("memory-tagging+"); // check for client features m_extensions_supported = {}; |