[Lldb-commits] [lldb] [lldb][Process/Linux] Introduce LoongArch64 hw break/watchpoint support (PR #118043)

via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 4 19:15:29 PST 2024


wangleiat wrote:

> We could move all this back into NativeRegisterContextLinux too but A: let's take one step at a time and B: it may be that some architecture does not fit the pattern that AArch64 and LoongArch do.
> 
> So in the interests of you getting this done and us having less churn, stick to making a NativeRegisterContextDBReg class.
> 
> One of these days maybe we'll hoist it further up.

Thank you for your suggestion. I will divide it into two patches:

1. Extract the common parts into the `NativeRegisterContextDBReg` class to simplify `NativeRegisterContextDBReg_arm64`.
2. Based on the above, implement the hardware breakpoint and watchpoint functionality for `LoongArch`.


https://github.com/llvm/llvm-project/pull/118043


More information about the lldb-commits mailing list