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