From e330facaea0c3780734a6a061134551662fb9d74 Mon Sep 17 00:00:00 2001
From: Davide Italiano <ditaliano@apple.com>
Date: Tue, 31 Mar 2020 13:55:36 -0700
Subject: [PATCH] [debugserver/ARM64] Make sure watchpoints hit are attributed
correctly.
This didn't happen for arm64 if you have watches for variables
that are contigous in memory.
rdar://problem/55135006
.../watchpoints/watchpoint_count/Makefile | 3 ++
.../watchpoint_count/TestWatchpointCount.py | 43 +++++++++++++++++++
.../watchpoints/watchpoint_count/main.c | 13 ++++++
.../source/MacOSX/arm64/DNBArchImplARM64.cpp | 43 ++++++++++---------
4 files changed, 82 insertions(+), 20 deletions(-)
create mode 100644 lldb/test/API/commands/watchpoints/watchpoint_count/Makefile
create mode 100644 lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
create mode 100644 lldb/test/API/commands/watchpoints/watchpoint_count/main.c