1 # REQUIRES: native && dbregs-set
2 # UNSUPPORTED: system-windows
3 # UNSUPPORTED: system-darwin
4 # RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_FORK=vfork -o %t
5 # RUN: %lldb -b -s %s %t | FileCheck %s
7 watchpoint set variable -w write g_val
8 # CHECK: Watchpoint created:
10 # CHECK-NOT: function run in parent
11 # CHECK: stop reason = watchpoint
13 # CHECK: function run in parent
14 # CHECK: function run in exec'd child