xref: /llvm-project/lldb/test/Shell/Subprocess/fork-follow-parent-softbp.test (revision f659bf00b4c0f33947bbce19113ac7cd28e5da86)
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
6b parent_func
7b child_func
8process launch
9# CHECK-NOT: function run in parent
10# CHECK: stop reason = breakpoint
11# CHECK-NEXT: parent_func
12continue
13# CHECK: function run in parent
14# CHECK: function run in exec'd child
15