[all-commits] [llvm/llvm-project] 5d2baa: [libc] Add Initial Support for Signals
Alex Brachet via All-commits
all-commits at lists.llvm.org
Thu Feb 20 11:06:56 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5d2baa956ac3784e3956e35f610e118cacc7128b
https://github.com/llvm/llvm-project/commit/5d2baa956ac3784e3956e35f610e118cacc7128b
Author: Alex Brachet <alexbrachetmialot at gmail.com>
Date: 2020-02-20 (Thu, 20 Feb 2020)
Changed paths:
M libc/config/linux/api.td
A libc/config/linux/signal.h.in
M libc/include/CMakeLists.txt
A libc/include/signal.h.def
M libc/lib/CMakeLists.txt
M libc/spec/linux.td
M libc/spec/stdc.td
M libc/src/CMakeLists.txt
A libc/src/signal/CMakeLists.txt
A libc/src/signal/linux/CMakeLists.txt
A libc/src/signal/linux/raise.cpp
A libc/src/signal/linux/signal.h
A libc/src/signal/raise.h
M libc/test/src/CMakeLists.txt
A libc/test/src/signal/CMakeLists.txt
A libc/test/src/signal/raise_test.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list