llvm-capstone/lldb
Jason Molenda 5679379cc7 Refactor and generalize AArch64 watchpoint support in debugserver
Refactor the debugserver watchpiont support in anticipating of
adding support for AArch64 MASK hardware watchpoints to watch
larger regions of memory.  debugserver already had support for
handling a request to watch an unaligned region of memory up
to 8 bytes using Byte Address Select watchpoints - it would split
an unaligned watch request into two aligned doublewords that
could be watched with two hardware watchpoints using the BAS
specification.

This patch generalizes that code for properly aligning, and
possibly splitting, a watchpoint request into two hardware watchpoints
to handle any size request.  And separates out the specifics
about BAS watchpoints into its own method, so a sibling method
for MASK watchpoints can be dropped in next.

Differential Revision: https://reviews.llvm.org/D149040
rdar://108233371
2023-04-28 18:24:38 -07:00
..
bindings [lldb][NFCI] Remove unused swig macros 2023-04-25 16:47:00 -07:00
cmake [LLDB] Ensure LLDB symbols are exported in LLDB_EXPORT_ALL_SYMBOLS is provided. 2023-04-03 15:41:02 -05:00
docs [LLDB][docs] Remove outdated list of Buildbots 2023-04-13 08:53:06 +00:00
examples [lldb/crashlog] Fix JSON ObjectFile module loading issue 2023-04-28 12:51:01 -07:00
include/lldb [lldb] Refactor host::OpenFileInExternalEditor 2023-04-28 18:12:41 -07:00
packages/Python/lldbsuite [lldb/test] Update lldbutil.fetch_next_event to match broadcaster class 2023-04-25 15:03:45 -07:00
resources [lldb][NFC] Remove copy of debugserver entitlements plist 2023-01-31 12:58:37 -08:00
scripts [lldb] Update QEMU git URL in setup.sh 2023-04-21 14:31:39 +00:00
source [lldb] Refactor host::OpenFileInExternalEditor 2023-04-28 18:12:41 -07:00
test Refactor and generalize AArch64 watchpoint support in debugserver 2023-04-28 18:24:38 -07:00
third_party/Python/module [lldb] Remove legacy six module for py2->py3 2023-01-24 19:46:26 -08:00
tools Refactor and generalize AArch64 watchpoint support in debugserver 2023-04-28 18:24:38 -07:00
unittests Host: generalise GetXcodeSDKPath 2023-04-28 09:30:59 -07:00
utils [NFC][TargetParser] Replace uses of llvm/Support/Host.h 2023-02-10 09:59:46 +00:00
.clang-format
.clang-tidy [LLDB] Applying clang-tidy modernize-use-override over LLDB 2022-04-22 13:29:47 -07:00
.gitignore
CMakeLists.txt Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
CODE_OWNERS.txt [lldb] Add entry to code owner 2023-04-25 23:15:07 -07:00
LICENSE.TXT
use_lldb_suite_root.py