blob: 4a35d6e7cf638b730b22b971ffe09ea325a00caf [file] [log] [blame]
# REQUIRES: native && system-linux
# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_CLONE -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
settings set target.process.follow-fork-mode child
settings set target.process.stop-on-exec false
b child_func
b parent_func
process launch
# CHECK: stop reason = breakpoint
# CHECK-NEXT: child_func
continue
# CHECK: function run in exec'd child