xref: /llvm-project/lldb/test/Shell/Subprocess/fork-follow-child-softbp.test (revision dd5808330484ad3b82ba92ae1a249127b0e0bbb4)
1# REQUIRES: native
2# UNSUPPORTED: system-darwin
3# UNSUPPORTED: system-windows
4# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_FORK=fork -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
8b child_func
9b parent_func
10process launch
11# CHECK: stop reason = breakpoint
12# CHECK-NEXT: child_func
13continue
14# CHECK: function run in exec'd child
15