diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-03-11 10:50:10 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-03-11 10:58:04 -0800 |
commit | 68099b1d5c2c99ff79e56a9e183f1601835ea244 (patch) | |
tree | 7884661ac4a4c5448dc69843edbac1c604675882 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | |
parent | 9b7b21d2f7cfd6784fdb7adbc022b200a60105fa (diff) | |
download | llvm-68099b1d5c2c99ff79e56a9e183f1601835ea244.zip llvm-68099b1d5c2c99ff79e56a9e183f1601835ea244.tar.gz llvm-68099b1d5c2c99ff79e56a9e183f1601835ea244.tar.bz2 |
[lldb] Add a getter for the process' system architecture
This patch adds a getter for the process' system architecture. I went
with Process::GetSystemArchitecture to match
Platform::GetSystemArchitecture.
Differential revision: https://reviews.llvm.org/D121443
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h index d8f1850..50cef8e4 100644 --- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h +++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h @@ -70,6 +70,8 @@ public: static std::chrono::seconds GetPacketTimeout(); + ArchSpec GetSystemArchitecture() override; + // Check if a given Process bool CanDebug(lldb::TargetSP target_sp, bool plugin_specified_by_name) override; |