view lldb/test/Shell/Subprocess/clone-follow-child-softbp.test @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents
children
line wrap: on
line source

# REQUIRES: native && system-linux
# clone() tests fails on arm64 Linux, PR #49899
# UNSUPPORTED: system-linux && target-aarch64
# 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