aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/Subprocess/vfork-follow-parent-softbp.test
blob: 9d19b385cad837abce83e8822f1a063e370d019d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# REQUIRES: native
# UNSUPPORTED: system-darwin
# UNSUPPORTED: system-windows
# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_FORK=vfork -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
b parent_func
b child_func
process launch
# CHECK-NOT: function run in parent
# CHECK: stop reason = breakpoint
continue
# CHECK: function run in parent
# CHECK: function run in exec'd child