1# REQUIRES: native && system-linux && dbregs-set 2# clone() tests fails on arm64 Linux, PR #49899 3# UNSUPPORTED: system-linux && target-aarch64 4# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_CLONE -o %t 5# RUN: %lldb -b -s %s %t | FileCheck %s 6settings set target.process.follow-fork-mode child 7settings set target.process.stop-on-exec false 8process launch -s 9watchpoint set variable -w write g_val 10# CHECK: Watchpoint created: 11continue 12# CHECK: stop reason = watchpoint 13continue 14# CHECK: stop reason = watchpoint 15continue 16# CHECK: function run in exec'd child 17