[Lldb-commits] [PATCH] D136578: [LLDB] [LoongArch] Add minimal LoongArch support
Lu Weining via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 25 04:30:07 PDT 2022
SixWeining accepted this revision.
SixWeining added a comment.
LGTM for LoongArch related changes.
================
Comment at: lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_loongarch64.h:26
+public:
+ struct GPR {
+ uint64_t gpr[32];
----------------
xry111 wrote:
> SixWeining wrote:
> > Why is this structure and below `FPR` defined like this? Do you intent to keep the layout same as some structures of Linux? If yes, is it necessary?
> It seems necessary because lldb invokes `ptrace` system call which directly stores into the pointer returned by `GetGPRBuffer`.
Make sense. Thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136578/new/
https://reviews.llvm.org/D136578
More information about the lldb-commits
mailing list