Add AArch64 MASK watchpoint support in debugserver
authorJason Molenda <jason@molenda.com>
Thu, 4 May 2023 20:23:51 +0000 (13:23 -0700)
committerJason Molenda <jason@molenda.com>
Thu, 4 May 2023 20:23:51 +0000 (13:23 -0700)
commit2e16e41b28b1b1e027d0303e1a37ccbded96a46f
tree5889c433f3a8288e823adf1b61ab80e7569a7c52
parent4fac08ff1dcd02c89c677365b10921399caf79df
Add AArch64 MASK watchpoint support in debugserver

Add suport for MASK style watchpoints on AArch64 in debugserver
on Darwin systems, for watching power-of-2 sized memory ranges.
More work needed in lldb before this can be exposed to the user
(because they will often try watching memory ranges that are not
exactly power-of-2 in size/alignment) but this is the first part
of adding that capability.

Differential Revision: https://reviews.llvm.org/D149792
rdar://108233371
lldb/test/API/functionalities/watchpoint/large-watchpoint/Makefile [new file with mode: 0644]
lldb/test/API/functionalities/watchpoint/large-watchpoint/TestLargeWatchpoint.py [new file with mode: 0644]
lldb/test/API/functionalities/watchpoint/large-watchpoint/main.c [new file with mode: 0644]
lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp
lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.h