[Lldb-commits] [lldb] [lldb][AArch64] Fix arm64 hardware breakpoint/watchpoint to arm32 process. (PR #147198)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 28 01:36:44 PDT 2025
================
@@ -737,12 +744,17 @@ Status NativeRegisterContextLinux_arm::ReadHardwareDebugInfo() {
m_refresh_hwdebug_info = false;
return error;
+#else // __aarch64__
+ return arm64::ReadHardwareDebugInfo(m_thread.GetID(), m_max_hwp_supported,
+ m_max_hbp_supported);
+#endif // __arm__
----------------
DavidSpickett wrote:
These final #endif we tend to write the `if` as well like `ifdef __arm__`.
https://github.com/llvm/llvm-project/pull/147198
More information about the lldb-commits
mailing list