[all-commits] [llvm/llvm-project] 4fd776: [LLDB] Add per-thread register infos shared pointe...
Muhammad Omair Javaid via All-commits
all-commits at lists.llvm.org
Fri Jan 15 03:15:32 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4fd77668b2cc215f0605fe20bb989b90b29f4346
https://github.com/llvm/llvm-project/commit/4fd77668b2cc215f0605fe20bb989b90b29f4346
Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
Date: 2021-01-15 (Fri, 15 Jan 2021)
Changed paths:
M lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
M lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.h
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
M lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.h
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
M lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
M lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.h
Log Message:
-----------
[LLDB] Add per-thread register infos shared pointer in gdb-remote
In gdb-remote process we have register infos defind as a refernce object of
GDBRemoteDynamicRegisterInfo class. In past register infos have remained
constant througout the life time of a process.
This has changed after AArch64 SVE support where register infos will have
per-thread configuration. SVE registers will have per-thread size and can
be updated while running. This patch aims to build up for that support by
changing GDBRemoteDynamicRegisterInfo reference to a shared pointer deinfed
per-thread.
Reviewed By: labath
Differential Revision: https://reviews.llvm.org/D82857
More information about the All-commits
mailing list