summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg.cpp
AgeCommit message (Collapse)Author
2025-04-11[lldb] Fix erroneous return valueAlexandre Ganea
Found when building with MSVC on Windows, was seeing: ``` [2703/7138] Building CXX object tools\lldb\source\Plugins\Process\Utility\CMakeFiles\lldbPluginProcessUtility.dir\NativeRegisterContextDBReg.cpp.obj C:\git\llvm-project\lldb\source\Plugins\Process\Utility\NativeRegisterContextDBReg.cpp(286): warning C4305: 'return': truncation from 'unsigned int' to 'bool' ```
2024-12-12[LLDB][Process/Utility] Introduce NativeRegisterContextDBReg classwanglei
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