[all-commits] [llvm/llvm-project] bef4da: Skip testing of watchpoint hit-count/ignore-count ...
Jason Molenda via All-commits
all-commits at lists.llvm.org
Wed May 25 16:06:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bef4da4a6aef8196f007f44e3e9c8e3419ffb623
https://github.com/llvm/llvm-project/commit/bef4da4a6aef8196f007f44e3e9c8e3419ffb623
Author: Jason Molenda <jason at molenda.com>
Date: 2022-05-25 (Wed, 25 May 2022)
Changed paths:
M lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py
M lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentManyWatchpoints.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentNWatchNBreak.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalNWatchNBreak.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatch.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentSignalWatchBreak.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointThreads.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneBreakpoint.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneDelayBreakpoint.py
M lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoWatchpointsOneSignal.py
M lldb/test/API/python_api/watchpoint/TestWatchpointIgnoreCount.py
Log Message:
-----------
Skip testing of watchpoint hit-count/ignore-count on multithreaded
Skip all watchpoint hit-count/ignore-count tests for multithreaded
API tests for now on arm64 Darwin.
On AArch64, insns that trigger a WP are rolled back and we are
notified. lldb needs to disable the WP, insn step, re-enable it,
then report it to the user. lldb only does this full step action
for the "selected thread", and so when a program stops with
multiple threads hitting a stop reason, some of them watchpoints,
any non-selected-thread will not be completed in this way. But
all threads with the initial watchpoint exception will have their
hit-count/ignore-counts updated. When we resume execution, the
other threads sitting at the instruction will again execute &
trigger the WP exceptoin again, repeating until we've gone through
all of the threads.
This bug is being tracked in llvm.org/pr49433 and inside apple
in rdar://93863107
More information about the All-commits
mailing list