[Lldb-commits] [PATCH] D77173: [PATCH] [debugserver/ARM64] Make sure watchpoints hit are attributed correctly.

Davide Italiano via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Mar 31 14:17:33 PDT 2020


davide created this revision.
davide added a reviewer: jasonmolenda.
davide added a project: LLDB.
Herald added subscribers: danielkiss, kristof.beyls.

>From e330facaea0c3780734a6a061134551662fb9d74 Mon Sep 17 00:00:00 2001
From: Davide Italiano <ditaliano at 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


https://reviews.llvm.org/D77173

Files:
  lldb/test/API/commands/watchpoints/watchpoint_count/Makefile
  lldb/test/API/commands/watchpoints/watchpoint_count/TestWatchpointCount.py
  lldb/test/API/commands/watchpoints/watchpoint_count/main.c
  lldb/tools/debugserver/source/MacOSX/arm64/DNBArchImplARM64.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77173.253993.patch
Type: text/x-patch
Size: 4886 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200331/03adb140/attachment.bin>


More information about the lldb-commits mailing list