[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / libc / include / llvm-libc-macros / gpu / signal-macros.h
blob2d8159240de8bf3f62c53d6be10261dcf6a54b82
1 //===-- Definition of GPU signal number macros ----------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H
10 #define LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H
12 #define SIGINT 2
13 #define SIGILL 4
14 #define SIGABRT 6
15 #define SIGFPE 8
16 #define SIGSEGV 11
17 #define SIGTERM 15
19 #define SIG_DFL ((__sighandler_t)(0))
20 #define SIG_IGN ((__sighandler_t)(1))
21 #define SIG_ERR ((__sighandler_t)(-1))
23 // Max signal number
24 #define NSIG 64
26 #define __NSIGSET_WORDS NSIG
28 #endif // LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H