xref: /llvm-project/lldb/test/Shell/Subprocess/vfork-follow-parent.test (revision f659bf00b4c0f33947bbce19113ac7cd28e5da86)
1# REQUIRES: native
2# UNSUPPORTED: system-windows
3# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_FORK=vfork -o %t
4# RUN: %lldb -b -s %s %t | FileCheck %s
5b parent_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