[Lldb-commits] [PATCH] D101361: [LLDB] Support AArch64/Linux watchpoint on tagged addresses
Muhammad Omair Javaid via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 27 06:40:25 PDT 2021
omjavaid created this revision.
omjavaid added reviewers: labath, DavidSpickett.
Herald added subscribers: danielkiss, kristof.beyls.
omjavaid requested review of this revision.
AArch64 architecture support virtual addresses with some of the top bits ignored.
These ignored bits can host memory tags or bit masks that can serve to for
authentication of address integrity. We need to clear away the top ignored bits
from watchpoint address to reliably hit watchpoints as well set watchpoints on
addresses containing tags or masks in their top bits.
This patch adds support to watch tagged addresses on AArch64/Linux.
https://reviews.llvm.org/D101361
Files:
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp
lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.h
lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.cpp
lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.h
lldb/source/Target/Target.cpp
lldb/test/API/commands/watchpoints/watch_tagged_addr/Makefile
lldb/test/API/commands/watchpoints/watch_tagged_addr/TestWatchTaggedAddress.py
lldb/test/API/commands/watchpoints/watch_tagged_addr/main.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101361.340820.patch
Type: text/x-patch
Size: 9351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210427/1c01c347/attachment.bin>
More information about the lldb-commits
mailing list