blob: e9ddd807f0f62fdfe8adadba56c1233587b122c9 [file] [log] [blame]
# REQUIRES: native && (system-linux || system-netbsd) && dbregs-set
# clone() tests fails on arm64 Linux, PR #49899
# UNSUPPORTED: system-linux && target-aarch64
# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_CLONE -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
process launch -s
watchpoint set variable -w write g_val
# CHECK: Watchpoint created:
continue
# CHECK-NOT: function run in parent
# CHECK: stop reason = watchpoint
continue
# CHECK: function run in parent
# CHECK: function run in exec'd child