[Lldb-commits] [lldb] WoA HW Break and Watchpoint support in LLDB (PR #108072)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 11 01:14:13 PDT 2024


================
@@ -178,9 +178,41 @@ Status NativeThreadWindows::RemoveWatchpoint(lldb::addr_t addr) {
 
 Status NativeThreadWindows::SetHardwareBreakpoint(lldb::addr_t addr,
                                                   size_t size) {
+#if defined(__aarch64__) || defined(_M_ARM64)
----------------
labath wrote:

Could we get rid of this ifdef? What would happen if we just let `m_reg_context_up->SetHardwareBreakpoint()` return an error?

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


More information about the lldb-commits mailing list