1 # REQUIRES: native && system-linux && dbregs-set
2 # RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_CLONE -o %t
3 # RUN: %lldb -b -s %s %t | FileCheck %s
4 settings set target.process.follow-fork-mode child
5 settings set target.process.stop-on-exec false
7 watchpoint set variable -w write g_val
8 # CHECK: Watchpoint created:
10 # CHECK: stop reason = watchpoint
12 # CHECK: stop reason = watchpoint
14 # CHECK: function run in exec'd child