[all-commits] [llvm/llvm-project] ae5836: [LLDB][Process/Utility] Introduce NativeRegisterCo...

wanglei via All-commits all-commits at lists.llvm.org
Wed Dec 11 18:04:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae5836f6b6a8544e6226f5c1ba6b1beacfe01aef
      https://github.com/llvm/llvm-project/commit/ae5836f6b6a8544e6226f5c1ba6b1beacfe01aef
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M lldb/source/Plugins/Process/Utility/CMakeLists.txt
    A lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg.cpp
    A lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg.h
    M lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.cpp
    M lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.h

  Log Message:
  -----------
  [LLDB][Process/Utility] Introduce NativeRegisterContextDBReg class

Since the setup of debug registers for AArch64 and LoongArch is similar,
we extracted the shared logic from Class:
`NativeRegisterContextDBReg_arm64`
into a new Class:
`NativeRegisterContextDBReg`.
This will simplify the subsequent implementation of hardware breakpoints
and watchpoints on LoongArch.

Reviewed By: DavidSpickett

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



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list