[Lldb-commits] [PATCH] D129521: Add the ability to run expressions that call fork() or vfork().

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 11 15:49:09 PDT 2022


clayborg created this revision.
clayborg added reviewers: labath, jingham, yinghuitan.
Herald added a project: All.
clayborg requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Before this fix if you tried to call fork for vfork, the expression would stop when it received the eStopReasonFork or eStopReasonVFork in the thread plan that runs the expression. This is now fixed and I have added a test case.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129521

Files:
  lldb/source/Target/ThreadPlanCallFunction.cpp
  lldb/test/API/commands/expression/fork/Makefile
  lldb/test/API/commands/expression/fork/TestForkExprs.py
  lldb/test/API/commands/expression/fork/main.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129521.443779.patch
Type: text/x-patch
Size: 3876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220711/a2e987b3/attachment.bin>


More information about the lldb-commits mailing list