llvm-project/lldb/test/Shell/Subprocess/fork-follow-parent-softbp.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
398 B
Plaintext
Raw Normal View History

# REQUIRES: native
# UNSUPPORTED: system-darwin
# UNSUPPORTED: system-windows
# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_FORK=fork -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
# CHECK-NEXT: parent_func
continue
# CHECK: function run in parent
# CHECK: function run in exec'd child