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 6process launch -s 7watchpoint set variable -w write g_val 8# CHECK: Watchpoint created: 9continue 10# CHECK-NOT: function run in parent 11# CHECK: stop reason = watchpoint 12continue 13# CHECK: function run in parent 14# CHECK: function run in exec'd child 15