Files
clang-p2996/lldb/test/Shell/Subprocess/fork-follow-child-wp.test
2021-09-03 09:07:53 +02:00

16 lines
455 B
Plaintext

# REQUIRES: native && dbregs-set
# UNSUPPORTED: system-darwin
# UNSUPPORTED: system-windows
# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_FORK=fork -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
settings set target.process.follow-fork-mode child
process launch -s
watchpoint set variable -w write g_val
# CHECK: Watchpoint created:
continue
# CHECK: stop reason = watchpoint
continue
# CHECK: stop reason = watchpoint
continue
# CHECK: child exited: 0