1 # REQUIRES: native && system-linux
2 # RUN: %clang_host -g %S/Inputs/sigchld.c -o %t
3 # RUN: %lldb %t -b -s %s | FileCheck %s
6 process handle SIGCHLD -s true
8 # CHECK: signo = [[SIGNO:[0-9]+]]
9 # CHECK: code = [[CODE:[0-9]+]]
10 # CHECK: child_pid = [[PID:[0-9]+]]
11 # CHECK: uid = [[UID:[0-9]+]]
12 # CHECK: stop reason = signal SIGCHLD
14 # CHECK-DAG: si_signo = [[SIGNO]]
15 # CHECK-DAG: si_errno = 0
16 # CHECK-DAG: si_code = [[CODE]]
17 # CHECK-DAG: si_pid = [[PID]]
18 # CHECK-DAG: si_uid = [[UID]]
19 # CHECK-DAG: si_status = 14