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