[lldb] Add a getter for the process' system architecture
authorJonas Devlieghere <jonas@devlieghere.com>
Fri, 11 Mar 2022 18:50:10 +0000 (10:50 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Fri, 11 Mar 2022 18:58:04 +0000 (10:58 -0800)
commit68099b1d5c2c99ff79e56a9e183f1601835ea244
tree7884661ac4a4c5448dc69843edbac1c604675882
parent9b7b21d2f7cfd6784fdb7adbc022b200a60105fa
[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
lldb/include/lldb/Target/Process.h
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h