13 lines · plain
1# REQUIRES: native && (system-linux || system-netbsd) && dbregs-set2# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_CLONE -o %t3# RUN: %lldb -b -s %s %t | FileCheck %s4process launch -s5watchpoint set variable -w write g_val6# CHECK: Watchpoint created:7continue8# CHECK-NOT: function run in parent9# CHECK: stop reason = watchpoint10continue11# CHECK: function run in parent12# CHECK: function run in exec'd child13