1# REQUIRES: native && (system-linux || system-netbsd) && dbregs-set 2# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_CLONE -o %t 3# RUN: %lldb -b -s %s %t | FileCheck %s 4process launch -s 5watchpoint set variable -w write g_val 6# CHECK: Watchpoint created: 7continue 8# CHECK-NOT: function run in parent 9# CHECK: stop reason = watchpoint 10continue 11# CHECK: function run in parent 12# CHECK: function run in exec'd child 13