aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-03-11 10:50:10 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2022-03-11 10:58:04 -0800
commit68099b1d5c2c99ff79e56a9e183f1601835ea244 (patch)
tree7884661ac4a4c5448dc69843edbac1c604675882 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
parent9b7b21d2f7cfd6784fdb7adbc022b200a60105fa (diff)
downloadllvm-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.h2
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;