view lldb/test/Shell/Subprocess/fork-follow-parent-wp.test @ 236:c4bab56944e8 llvm-original

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

# REQUIRES: native && dbregs-set
# UNSUPPORTED: system-windows
# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_FORK=fork -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
process launch -s
watchpoint set variable -w write g_val
# CHECK: Watchpoint created:
continue
# CHECK-NOT: function run in parent
# CHECK: stop reason = watchpoint
continue
# CHECK: function run in parent
# CHECK: function run in exec'd child