
The original commit was reverted because of the problems it introduced on Linux. However, FreeBSD should not be affected, so restore that part and we will address Linux separately. While at it, remove the dbreg hack as the underlying issue has been fixed in the FreeBSD kernel and the problem is unlikely to happen in real life use anyway. Differential Revision: https://reviews.llvm.org/D98822
12 lines
318 B
Plaintext
12 lines
318 B
Plaintext
# REQUIRES: native
|
|
# 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
|
|
process launch
|
|
# CHECK-NOT: function run in parent
|
|
# CHECK: stop reason = breakpoint
|
|
continue
|
|
# CHECK: function run in parent
|
|
# CHECK: child exited: 0
|