xref: /llvm-project/lldb/test/Shell/Subprocess/clone-follow-child-softbp.test (revision f2b241474f21cd549c233f020021d41bb803f18a)
1# REQUIRES: native && system-linux
2# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_CLONE -o %t
3# RUN: %lldb -b -s %s %t | FileCheck %s
4settings set target.process.follow-fork-mode child
5settings set target.process.stop-on-exec false
6b child_func
7b parent_func
8process launch
9# CHECK: stop reason = breakpoint
10# CHECK-NEXT: child_func
11continue
12# CHECK: function run in exec'd child
13