[Lldb-commits] [lldb] [lldb] Fix crash after second run when set a previous watchpoint. (PR #136682)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 24 21:40:02 PDT 2025
hapeeeeee wrote:
> This patch may be all that's necessary, I haven't reproduced the failure myself. We'd really like to have a test for this to ensure it doesn't regress, I recently added a watchpoint API test to the testsuite as `lldb/test/API/functionalities/watchpoint/consecutive-watchpoints`, the only difference is that after you've set the watchpoint once, you'd want to `process.Kill()` and then `process = target.LaunchSimple(None, None, os.getcwd())` or something, to execute back to the breakpoint.
Hi @jasonmolenda , I have added a test for the patch in `llvm-project/lldb/test/Shell/Watchpoint/ReuseWatchpointAfterReExecProcess.test`, and I have tested it in `ARM/AArch64` native environments. Please review my code again.
https://github.com/llvm/llvm-project/pull/136682
More information about the lldb-commits
mailing list