diff options
author | Alex Brachet <alexbrachetmialot@gmail.com> | 2020-02-20 14:05:34 -0500 |
---|---|---|
committer | Alex Brachet <alexbrachetmialot@gmail.com> | 2020-02-20 14:05:34 -0500 |
commit | 5d2baa956ac3784e3956e35f610e118cacc7128b (patch) | |
tree | 27673ef28d190ffa41e68df6f6d7b747a56c6ff6 /libc/lib | |
parent | 064cd2ecdb3d0c52be5b6cf4fc67125baa714d3a (diff) | |
download | llvm-5d2baa956ac3784e3956e35f610e118cacc7128b.zip llvm-5d2baa956ac3784e3956e35f610e118cacc7128b.tar.gz llvm-5d2baa956ac3784e3956e35f610e118cacc7128b.tar.bz2 |
[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
Diffstat (limited to 'libc/lib')
-rw-r--r-- | libc/lib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt index 7177248..cccb793 100644 --- a/libc/lib/CMakeLists.txt +++ b/libc/lib/CMakeLists.txt @@ -12,6 +12,9 @@ add_entrypoint_library( # sys/mman.h entrypoints mmap munmap + + # signal.h entrypoints + raise ) add_entrypoint_library( |