HomePhabricator

[libc] Add Initial Support for Signals

Authored by abrachet on Feb 20 2020, 11:05 AM.

Description

[libc] Add Initial Support for Signals

Summary:
This patch adds signal support on Linux. The current implementation gets the SIG* macros and types like sigset_t from <linux/signals.h>

This patch also adds raise(3), and internal routines block_all_signals and restore_signals

Reviewers: sivachandra, MaskRay, gchatelet

Reviewed By: sivachandra

Subscribers: libc-commits, mgorny, tschuett

Differential Revision: https://reviews.llvm.org/D74528

Details

Committed
abrachetFeb 20 2020, 11:05 AM
Reviewer
sivachandra
Differential Revision
D74528: [libc] Add Initial Support for Signals
Parents
rG064cd2ecdb3d: [x86] allow peeking through an extract_subvector to find a splatted operand
Branches
Unknown
Tags
Unknown