diff options
author | Wim <wim@42.be> | 2022-08-13 16:14:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 16:14:26 +0200 |
commit | 6a3fc713978a0c1c9290a4afd08b47886b49b635 (patch) | |
tree | aa62cd85cf5671646c75ee38b3fc140ef7edcea8 /vendor/modernc.org/libc/signal | |
parent | 3c4192ebf6a32e30cdd23a9644c2ceca72a006fa (diff) | |
download | matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.gz matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.bz2 matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.zip |
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18
* Exclude unnecessary linters and update build to go1.18
Diffstat (limited to 'vendor/modernc.org/libc/signal')
4 files changed, 308 insertions, 294 deletions
diff --git a/vendor/modernc.org/libc/signal/capi_darwin_arm64.go b/vendor/modernc.org/libc/signal/capi_darwin_arm64.go index c630a75e..e203423e 100644 --- a/vendor/modernc.org/libc/signal/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/signal/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. package signal diff --git a/vendor/modernc.org/libc/signal/capi_linux_amd64.go b/vendor/modernc.org/libc/signal/capi_linux_amd64.go index 990d5bf9..20eeb2da 100644 --- a/vendor/modernc.org/libc/signal/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/signal/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. package signal diff --git a/vendor/modernc.org/libc/signal/signal_darwin_arm64.go b/vendor/modernc.org/libc/signal/signal_darwin_arm64.go index 9a412b1d..2167de7e 100644 --- a/vendor/modernc.org/libc/signal/signal_darwin_arm64.go +++ b/vendor/modernc.org/libc/signal/signal_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_darwin_arm64.go -pkgname signal', DO NOT EDIT. package signal @@ -15,187 +15,187 @@ var _ atomic.Value var _ unsafe.Pointer const ( - BUS_ADRALN = 1 - BUS_ADRERR = 2 - BUS_NOOP = 0 - BUS_OBJERR = 3 - CLD_CONTINUED = 6 - CLD_DUMPED = 3 - CLD_EXITED = 1 - CLD_KILLED = 2 - CLD_NOOP = 0 - CLD_STOPPED = 5 - CLD_TRAPPED = 4 - FPE_FLTDIV = 1 - FPE_FLTINV = 5 - FPE_FLTOVF = 2 - FPE_FLTRES = 4 - FPE_FLTSUB = 6 - FPE_FLTUND = 3 - FPE_INTDIV = 7 - FPE_INTOVF = 8 - FPE_NOOP = 0 - ILL_BADSTK = 8 - ILL_COPROC = 7 - ILL_ILLADR = 5 - ILL_ILLOPC = 1 - ILL_ILLOPN = 4 - ILL_ILLTRP = 2 - ILL_NOOP = 0 - ILL_PRVOPC = 3 - ILL_PRVREG = 6 - MAC_OS_VERSION_11_0 = 110000 - MAC_OS_VERSION_12_0 = 120000 - MAC_OS_X_VERSION_10_0 = 1000 - MAC_OS_X_VERSION_10_1 = 1010 - MAC_OS_X_VERSION_10_10 = 101000 - MAC_OS_X_VERSION_10_10_2 = 101002 - MAC_OS_X_VERSION_10_10_3 = 101003 - MAC_OS_X_VERSION_10_11 = 101100 - MAC_OS_X_VERSION_10_11_2 = 101102 - MAC_OS_X_VERSION_10_11_3 = 101103 - MAC_OS_X_VERSION_10_11_4 = 101104 - MAC_OS_X_VERSION_10_12 = 101200 - MAC_OS_X_VERSION_10_12_1 = 101201 - MAC_OS_X_VERSION_10_12_2 = 101202 - MAC_OS_X_VERSION_10_12_4 = 101204 - MAC_OS_X_VERSION_10_13 = 101300 - MAC_OS_X_VERSION_10_13_1 = 101301 - MAC_OS_X_VERSION_10_13_2 = 101302 - MAC_OS_X_VERSION_10_13_4 = 101304 - MAC_OS_X_VERSION_10_14 = 101400 - MAC_OS_X_VERSION_10_14_1 = 101401 - MAC_OS_X_VERSION_10_14_4 = 101404 - MAC_OS_X_VERSION_10_14_6 = 101406 - MAC_OS_X_VERSION_10_15 = 101500 - MAC_OS_X_VERSION_10_15_1 = 101501 - MAC_OS_X_VERSION_10_16 = 101600 - MAC_OS_X_VERSION_10_2 = 1020 - MAC_OS_X_VERSION_10_3 = 1030 - MAC_OS_X_VERSION_10_4 = 1040 - MAC_OS_X_VERSION_10_5 = 1050 - MAC_OS_X_VERSION_10_6 = 1060 - MAC_OS_X_VERSION_10_7 = 1070 - MAC_OS_X_VERSION_10_8 = 1080 - MAC_OS_X_VERSION_10_9 = 1090 - MINSIGSTKSZ = 32768 - NSIG = 32 - POLL_ERR = 4 - POLL_HUP = 6 - POLL_IN = 1 - POLL_MSG = 3 - POLL_OUT = 2 - POLL_PRI = 5 - SA_64REGSET = 0x0200 - SA_NOCLDSTOP = 0x0008 - SA_NOCLDWAIT = 0x0020 - SA_NODEFER = 0x0010 - SA_ONSTACK = 0x0001 - SA_RESETHAND = 0x0004 - SA_RESTART = 0x0002 - SA_SIGINFO = 0x0040 - SA_USERSPACE_MASK = 127 - SA_USERTRAMP = 0x0100 - SEGV_ACCERR = 2 - SEGV_MAPERR = 1 - SEGV_NOOP = 0 - SIGABRT = 6 - SIGALRM = 14 - SIGBUS = 10 - SIGCHLD = 20 - SIGCONT = 19 - SIGEMT = 7 - SIGEV_NONE = 0 - SIGEV_SIGNAL = 1 - SIGEV_THREAD = 3 - SIGFPE = 8 - SIGHUP = 1 - SIGILL = 4 - SIGINFO = 29 - SIGINT = 2 - SIGIO = 23 - SIGIOT = 6 - SIGKILL = 9 - SIGPIPE = 13 - SIGPROF = 27 - SIGQUIT = 3 - SIGSEGV = 11 - SIGSTKSZ = 131072 - SIGSTOP = 17 - SIGSYS = 12 - SIGTERM = 15 - SIGTRAP = 5 - SIGTSTP = 18 - SIGTTIN = 21 - SIGTTOU = 22 - SIGURG = 16 - SIGUSR1 = 30 - SIGUSR2 = 31 - SIGVTALRM = 26 - SIGWINCH = 28 - SIGXCPU = 24 - SIGXFSZ = 25 - SIG_BLOCK = 1 - SIG_SETMASK = 3 - SIG_UNBLOCK = 2 - SI_ASYNCIO = 0x10004 - SI_MESGQ = 0x10005 - SI_QUEUE = 0x10002 - SI_TIMER = 0x10003 - SI_USER = 0x10001 - SS_DISABLE = 0x0004 - SS_ONSTACK = 0x0001 - SV_INTERRUPT = 2 - SV_NOCLDSTOP = 8 - SV_NODEFER = 16 - SV_ONSTACK = 1 - SV_RESETHAND = 4 - SV_SIGINFO = 64 - TRAP_BRKPT = 1 - TRAP_TRACE = 2 - X_ARM_MACHTYPES_H_ = 0 - X_ARM_SIGNAL_ = 1 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE_SIGNAL_H_ = 0 - X_BSD_MACHINE_TYPES_H_ = 0 - X_BSD_MACHINE__MCONTEXT_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_INT16_T = 0 - X_INT32_T = 0 - X_INT64_T = 0 - X_INT8_T = 0 - X_INTPTR_T = 0 - X_LP64 = 1 - X_MACHTYPES_H_ = 0 - X_MACH_ARM__STRUCTS_H_ = 0 - X_MACH_MACHINE__STRUCTS_H_ = 0 - X_MCONTEXT_T = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_PID_T = 0 - X_PTHREAD_ATTR_T = 0 - X_PTHREAD_T = 0 - X_SIGSET_T = 0 - X_SIZE_T = 0 - X_SYS_SIGNAL_H_ = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 - X_UID_T = 0 - X_UINTPTR_T = 0 - X_USER_SIGNAL_H = 0 - X_U_INT16_T = 0 - X_U_INT32_T = 0 - X_U_INT64_T = 0 - X_U_INT8_T = 0 + BUS_ADRALN = 1 // signal.h:241:1: + BUS_ADRERR = 2 // signal.h:242:1: + BUS_NOOP = 0 // signal.h:239:1: + BUS_OBJERR = 3 // signal.h:243:1: + CLD_CONTINUED = 6 // signal.h:258:1: + CLD_DUMPED = 3 // signal.h:255:1: + CLD_EXITED = 1 // signal.h:253:1: + CLD_KILLED = 2 // signal.h:254:1: + CLD_NOOP = 0 // signal.h:251:1: + CLD_STOPPED = 5 // signal.h:257:1: + CLD_TRAPPED = 4 // signal.h:256:1: + FPE_FLTDIV = 1 // signal.h:221:1: + FPE_FLTINV = 5 // signal.h:225:1: + FPE_FLTOVF = 2 // signal.h:222:1: + FPE_FLTRES = 4 // signal.h:224:1: + FPE_FLTSUB = 6 // signal.h:226:1: + FPE_FLTUND = 3 // signal.h:223:1: + FPE_INTDIV = 7 // signal.h:227:1: + FPE_INTOVF = 8 // signal.h:228:1: + FPE_NOOP = 0 // signal.h:219:1: + ILL_BADSTK = 8 // signal.h:215:1: + ILL_COPROC = 7 // signal.h:214:1: + ILL_ILLADR = 5 // signal.h:212:1: + ILL_ILLOPC = 1 // signal.h:208:1: + ILL_ILLOPN = 4 // signal.h:211:1: + ILL_ILLTRP = 2 // signal.h:209:1: + ILL_NOOP = 0 // signal.h:206:1: + ILL_PRVOPC = 3 // signal.h:210:1: + ILL_PRVREG = 6 // signal.h:213:1: + MAC_OS_VERSION_11_0 = 110000 // AvailabilityVersions.h:238:1: + MAC_OS_VERSION_12_0 = 120000 // AvailabilityVersions.h:239:1: + MAC_OS_X_VERSION_10_0 = 1000 // AvailabilityVersions.h:206:1: + MAC_OS_X_VERSION_10_1 = 1010 // AvailabilityVersions.h:207:1: + MAC_OS_X_VERSION_10_10 = 101000 // AvailabilityVersions.h:216:1: + MAC_OS_X_VERSION_10_10_2 = 101002 // AvailabilityVersions.h:217:1: + MAC_OS_X_VERSION_10_10_3 = 101003 // AvailabilityVersions.h:218:1: + MAC_OS_X_VERSION_10_11 = 101100 // AvailabilityVersions.h:219:1: + MAC_OS_X_VERSION_10_11_2 = 101102 // AvailabilityVersions.h:220:1: + MAC_OS_X_VERSION_10_11_3 = 101103 // AvailabilityVersions.h:221:1: + MAC_OS_X_VERSION_10_11_4 = 101104 // AvailabilityVersions.h:222:1: + MAC_OS_X_VERSION_10_12 = 101200 // AvailabilityVersions.h:223:1: + MAC_OS_X_VERSION_10_12_1 = 101201 // AvailabilityVersions.h:224:1: + MAC_OS_X_VERSION_10_12_2 = 101202 // AvailabilityVersions.h:225:1: + MAC_OS_X_VERSION_10_12_4 = 101204 // AvailabilityVersions.h:226:1: + MAC_OS_X_VERSION_10_13 = 101300 // AvailabilityVersions.h:227:1: + MAC_OS_X_VERSION_10_13_1 = 101301 // AvailabilityVersions.h:228:1: + MAC_OS_X_VERSION_10_13_2 = 101302 // AvailabilityVersions.h:229:1: + MAC_OS_X_VERSION_10_13_4 = 101304 // AvailabilityVersions.h:230:1: + MAC_OS_X_VERSION_10_14 = 101400 // AvailabilityVersions.h:231:1: + MAC_OS_X_VERSION_10_14_1 = 101401 // AvailabilityVersions.h:232:1: + MAC_OS_X_VERSION_10_14_4 = 101404 // AvailabilityVersions.h:233:1: + MAC_OS_X_VERSION_10_14_6 = 101406 // AvailabilityVersions.h:234:1: + MAC_OS_X_VERSION_10_15 = 101500 // AvailabilityVersions.h:235:1: + MAC_OS_X_VERSION_10_15_1 = 101501 // AvailabilityVersions.h:236:1: + MAC_OS_X_VERSION_10_16 = 101600 // AvailabilityVersions.h:237:1: + MAC_OS_X_VERSION_10_2 = 1020 // AvailabilityVersions.h:208:1: + MAC_OS_X_VERSION_10_3 = 1030 // AvailabilityVersions.h:209:1: + MAC_OS_X_VERSION_10_4 = 1040 // AvailabilityVersions.h:210:1: + MAC_OS_X_VERSION_10_5 = 1050 // AvailabilityVersions.h:211:1: + MAC_OS_X_VERSION_10_6 = 1060 // AvailabilityVersions.h:212:1: + MAC_OS_X_VERSION_10_7 = 1070 // AvailabilityVersions.h:213:1: + MAC_OS_X_VERSION_10_8 = 1080 // AvailabilityVersions.h:214:1: + MAC_OS_X_VERSION_10_9 = 1090 // AvailabilityVersions.h:215:1: + MINSIGSTKSZ = 32768 // signal.h:340:1: + NSIG = 32 // signal.h:79:1: + POLL_ERR = 4 // signal.h:264:1: + POLL_HUP = 6 // signal.h:266:1: + POLL_IN = 1 // signal.h:261:1: + POLL_MSG = 3 // signal.h:263:1: + POLL_OUT = 2 // signal.h:262:1: + POLL_PRI = 5 // signal.h:265:1: + SA_64REGSET = 0x0200 // signal.h:308:1: + SA_NOCLDSTOP = 0x0008 // signal.h:301:1: + SA_NOCLDWAIT = 0x0020 // signal.h:303:1: + SA_NODEFER = 0x0010 // signal.h:302:1: + SA_ONSTACK = 0x0001 // signal.h:298:1: + SA_RESETHAND = 0x0004 // signal.h:300:1: + SA_RESTART = 0x0002 // signal.h:299:1: + SA_SIGINFO = 0x0040 // signal.h:304:1: + SA_USERSPACE_MASK = 127 // signal.h:314:1: + SA_USERTRAMP = 0x0100 // signal.h:306:1: + SEGV_ACCERR = 2 // signal.h:235:1: + SEGV_MAPERR = 1 // signal.h:234:1: + SEGV_NOOP = 0 // signal.h:232:1: + SIGABRT = 6 // signal.h:89:1: + SIGALRM = 14 // signal.h:102:1: + SIGBUS = 10 // signal.h:98:1: + SIGCHLD = 20 // signal.h:108:1: + SIGCONT = 19 // signal.h:107:1: + SIGEMT = 7 // signal.h:94:1: + SIGEV_NONE = 0 // signal.h:164:1: + SIGEV_SIGNAL = 1 // signal.h:165:1: + SIGEV_THREAD = 3 // signal.h:166:1: + SIGFPE = 8 // signal.h:96:1: + SIGHUP = 1 // signal.h:84:1: + SIGILL = 4 // signal.h:87:1: + SIGINFO = 29 // signal.h:120:1: + SIGINT = 2 // signal.h:85:1: + SIGIO = 23 // signal.h:112:1: + SIGIOT = 6 // signal.h:93:1: + SIGKILL = 9 // signal.h:97:1: + SIGPIPE = 13 // signal.h:101:1: + SIGPROF = 27 // signal.h:117:1: + SIGQUIT = 3 // signal.h:86:1: + SIGSEGV = 11 // signal.h:99:1: + SIGSTKSZ = 131072 // signal.h:341:1: + SIGSTOP = 17 // signal.h:105:1: + SIGSYS = 12 // signal.h:100:1: + SIGTERM = 15 // signal.h:103:1: + SIGTRAP = 5 // signal.h:88:1: + SIGTSTP = 18 // signal.h:106:1: + SIGTTIN = 21 // signal.h:109:1: + SIGTTOU = 22 // signal.h:110:1: + SIGURG = 16 // signal.h:104:1: + SIGUSR1 = 30 // signal.h:122:1: + SIGUSR2 = 31 // signal.h:123:1: + SIGVTALRM = 26 // signal.h:116:1: + SIGWINCH = 28 // signal.h:119:1: + SIGXCPU = 24 // signal.h:114:1: + SIGXFSZ = 25 // signal.h:115:1: + SIG_BLOCK = 1 // signal.h:319:1: + SIG_SETMASK = 3 // signal.h:321:1: + SIG_UNBLOCK = 2 // signal.h:320:1: + SI_ASYNCIO = 0x10004 // signal.h:327:1: + SI_MESGQ = 0x10005 // signal.h:328:1: + SI_QUEUE = 0x10002 // signal.h:325:1: + SI_TIMER = 0x10003 // signal.h:326:1: + SI_USER = 0x10001 // signal.h:324:1: + SS_DISABLE = 0x0004 // signal.h:339:1: + SS_ONSTACK = 0x0001 // signal.h:338:1: + SV_INTERRUPT = 2 // signal.h:355:1: + SV_NOCLDSTOP = 8 // signal.h:358:1: + SV_NODEFER = 16 // signal.h:357:1: + SV_ONSTACK = 1 // signal.h:354:1: + SV_RESETHAND = 4 // signal.h:356:1: + SV_SIGINFO = 64 // signal.h:359:1: + TRAP_BRKPT = 1 // signal.h:246:1: + TRAP_TRACE = 2 // signal.h:247:1: + X_ARM_MACHTYPES_H_ = 0 // types.h:43:1: + X_ARM_SIGNAL_ = 1 // signal.h:10:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE_SIGNAL_H_ = 0 // signal.h:29:1: + X_BSD_MACHINE_TYPES_H_ = 0 // types.h:32:1: + X_BSD_MACHINE__MCONTEXT_H_ = 0 // _mcontext.h:29:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_INT16_T = 0 // _int16_t.h:29:1: + X_INT32_T = 0 // _int32_t.h:29:1: + X_INT64_T = 0 // _int64_t.h:29:1: + X_INT8_T = 0 // _int8_t.h:29:1: + X_INTPTR_T = 0 // _intptr_t.h:29:1: + X_LP64 = 1 // <predefined>:1:1: + X_MACHTYPES_H_ = 0 // types.h:44:1: + X_MACH_ARM__STRUCTS_H_ = 0 // _structs.h:32:1: + X_MACH_MACHINE__STRUCTS_H_ = 0 // _structs.h:30:1: + X_MCONTEXT_T = 0 // _mcontext.h:83:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_PID_T = 0 // _pid_t.h:29:1: + X_PTHREAD_ATTR_T = 0 // _pthread_attr_t.h:29:1: + X_PTHREAD_T = 0 // _pthread_t.h:29:1: + X_SIGSET_T = 0 // _sigset_t.h:29:1: + X_SIZE_T = 0 // _size_t.h:29:1: + X_SYS_SIGNAL_H_ = 0 // signal.h:70:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: + X_UID_T = 0 // _uid_t.h:29:1: + X_UINTPTR_T = 0 // _uintptr_t.h:29:1: + X_USER_SIGNAL_H = 0 // signal.h:59:1: + X_U_INT16_T = 0 // _u_int16_t.h:29:1: + X_U_INT32_T = 0 // _u_int32_t.h:29:1: + X_U_INT64_T = 0 // _u_int64_t.h:29:1: + X_U_INT8_T = 0 // _u_int8_t.h:29:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -635,6 +635,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS @@ -2292,21 +2306,21 @@ type X__darwin_arm_thread_state64 = struct { type X__darwin_arm_vfp_state = struct { F__r [64]X__uint32_t F__fpscr X__uint32_t -} /* _structs.h:424:1 */ +} /* _structs.h:433:1 */ type X__darwin_arm_neon_state64 = struct { F__v [32]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:443:1 */ +} /* _structs.h:452:1 */ type X__darwin_arm_neon_state = struct { F__v [16]X__uint128_t F__fpsr X__uint32_t F__fpcr X__uint32_t -} /* _structs.h:450:1 */ +} /* _structs.h:459:1 */ -type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:514:1 */ +type X__arm_pagein_state = struct{ F__pagein_error int32 } /* _structs.h:523:1 */ // Debug State @@ -2317,7 +2331,7 @@ type X__arm_legacy_debug_state = struct { F__bcr [16]X__uint32_t F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t -} /* _structs.h:551:1 */ +} /* _structs.h:560:1 */ type X__darwin_arm_debug_state32 = struct { F__bvr [16]X__uint32_t @@ -2325,7 +2339,7 @@ type X__darwin_arm_debug_state32 = struct { F__wvr [16]X__uint32_t F__wcr [16]X__uint32_t F__mdscr_el1 X__uint64_t -} /* _structs.h:574:1 */ +} /* _structs.h:583:1 */ type X__darwin_arm_debug_state64 = struct { F__bvr [16]X__uint64_t @@ -2333,9 +2347,9 @@ type X__darwin_arm_debug_state64 = struct { F__wvr [16]X__uint64_t F__wcr [16]X__uint64_t F__mdscr_el1 X__uint64_t -} /* _structs.h:584:1 */ +} /* _structs.h:593:1 */ -type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:616:1 */ +type X__darwin_arm_cpmu_state64 = struct{ F__ctrs [16]X__uint64_t } /* _structs.h:625:1 */ type X__darwin_mcontext32 = struct { F__es struct { diff --git a/vendor/modernc.org/libc/signal/signal_linux_amd64.go b/vendor/modernc.org/libc/signal/signal_linux_amd64.go index 0212ae92..ada50c83 100644 --- a/vendor/modernc.org/libc/signal/signal_linux_amd64.go +++ b/vendor/modernc.org/libc/signal/signal_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. +// Code generated by 'ccgo signal/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o signal/signal_linux_amd64.go -pkgname signal', DO NOT EDIT. package signal @@ -15,107 +15,107 @@ var _ atomic.Value var _ unsafe.Pointer const ( - FP_XSTATE_MAGIC1 = 0x46505853 - FP_XSTATE_MAGIC2 = 0x46505845 - MINSIGSTKSZ = 2048 - NGREG = 23 - NSIG = 65 - SA_INTERRUPT = 0x20000000 - SA_NOCLDSTOP = 1 - SA_NOCLDWAIT = 2 - SA_NODEFER = 0x40000000 - SA_NOMASK = 1073741824 - SA_ONESHOT = 2147483648 - SA_ONSTACK = 0x08000000 - SA_RESETHAND = 0x80000000 - SA_RESTART = 0x10000000 - SA_SIGINFO = 4 - SA_STACK = 134217728 - SIGABRT = 6 - SIGALRM = 14 - SIGBUS = 7 - SIGCHLD = 17 - SIGCLD = 17 - SIGCONT = 18 - SIGFPE = 8 - SIGHUP = 1 - SIGILL = 4 - SIGINT = 2 - SIGIO = 29 - SIGIOT = 6 - SIGKILL = 9 - SIGPIPE = 13 - SIGPOLL = 29 - SIGPROF = 27 - SIGPWR = 30 - SIGQUIT = 3 - SIGSEGV = 11 - SIGSTKFLT = 16 - SIGSTKSZ = 8192 - SIGSTOP = 19 - SIGSYS = 31 - SIGTERM = 15 - SIGTRAP = 5 - SIGTSTP = 20 - SIGTTIN = 21 - SIGTTOU = 22 - SIGURG = 23 - SIGUSR1 = 10 - SIGUSR2 = 12 - SIGVTALRM = 26 - SIGWINCH = 28 - SIGXCPU = 24 - SIGXFSZ = 25 - SIG_BLOCK = 0 - SIG_SETMASK = 2 - SIG_UNBLOCK = 1 - X_ATFILE_SOURCE = 1 - X_BITS_ENDIANNESS_H = 1 - X_BITS_ENDIAN_H = 1 - X_BITS_PTHREADTYPES_ARCH_H = 1 - X_BITS_PTHREADTYPES_COMMON_H = 1 - X_BITS_SIGACTION_H = 1 - X_BITS_SIGCONTEXT_H = 1 - X_BITS_SIGEVENT_CONSTS_H = 1 - X_BITS_SIGINFO_ARCH_H = 1 - X_BITS_SIGINFO_CONSTS_H = 1 - X_BITS_SIGNUM_GENERIC_H = 1 - X_BITS_SIGNUM_H = 1 - X_BITS_SIGSTACK_H = 1 - X_BITS_SIGTHREAD_H = 1 - X_BITS_SS_FLAGS_H = 1 - X_BITS_TIME64_H = 1 - X_BITS_TYPESIZES_H = 1 - X_BITS_TYPES_H = 1 - X_BSD_SIZE_T_ = 0 - X_BSD_SIZE_T_DEFINED_ = 0 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_GCC_SIZE_T = 0 - X_LP64 = 1 - X_NSIG = 65 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_RWLOCK_INTERNAL_H = 0 - X_SIGNAL_H = 0 - X_SIZET_ = 0 - X_SIZE_T = 0 - X_SIZE_T_ = 0 - X_SIZE_T_DECLARED = 0 - X_SIZE_T_DEFINED = 0 - X_SIZE_T_DEFINED_ = 0 - X_STDC_PREDEF_H = 1 - X_STRUCT_TIMESPEC = 1 - X_SYS_CDEFS_H = 1 - X_SYS_SIZE_T_H = 0 - X_SYS_UCONTEXT_H = 1 - X_THREAD_MUTEX_INTERNAL_H = 1 - X_THREAD_SHARED_TYPES_H = 1 - X_T_SIZE = 0 - X_T_SIZE_ = 0 - Linux = 1 - Unix = 1 + FP_XSTATE_MAGIC1 = 0x46505853 // sigcontext.h:27:1: + FP_XSTATE_MAGIC2 = 0x46505845 // sigcontext.h:28:1: + MINSIGSTKSZ = 2048 // sigstack.h:27:1: + NGREG = 23 // ucontext.h:42:1: + NSIG = 65 // signal.h:181:1: + SA_INTERRUPT = 0x20000000 // sigaction.h:70:1: + SA_NOCLDSTOP = 1 // sigaction.h:56:1: + SA_NOCLDWAIT = 2 // sigaction.h:57:1: + SA_NODEFER = 0x40000000 // sigaction.h:65:1: + SA_NOMASK = 1073741824 // sigaction.h:73:1: + SA_ONESHOT = 2147483648 // sigaction.h:74:1: + SA_ONSTACK = 0x08000000 // sigaction.h:61:1: + SA_RESETHAND = 0x80000000 // sigaction.h:67:1: + SA_RESTART = 0x10000000 // sigaction.h:64:1: + SA_SIGINFO = 4 // sigaction.h:58:1: + SA_STACK = 134217728 // sigaction.h:75:1: + SIGABRT = 6 // signum-generic.h:50:1: + SIGALRM = 14 // signum-generic.h:63:1: + SIGBUS = 7 // signum.h:35:1: + SIGCHLD = 17 // signum.h:41:1: + SIGCLD = 17 // signum-generic.h:88:1: + SIGCONT = 18 // signum.h:43:1: + SIGFPE = 8 // signum-generic.h:51:1: + SIGHUP = 1 // signum-generic.h:56:1: + SIGILL = 4 // signum-generic.h:49:1: + SIGINT = 2 // signum-generic.h:48:1: + SIGIO = 29 // signum-generic.h:86:1: + SIGIOT = 6 // signum-generic.h:87:1: + SIGKILL = 9 // signum-generic.h:59:1: + SIGPIPE = 13 // signum-generic.h:62:1: + SIGPOLL = 29 // signum.h:51:1: + SIGPROF = 27 // signum-generic.h:77:1: + SIGPWR = 30 // signum.h:32:1: + SIGQUIT = 3 // signum-generic.h:57:1: + SIGSEGV = 11 // signum-generic.h:52:1: + SIGSTKFLT = 16 // signum.h:31:1: + SIGSTKSZ = 8192 // sigstack.h:30:1: + SIGSTOP = 19 // signum.h:45:1: + SIGSYS = 31 // signum.h:53:1: + SIGTERM = 15 // signum-generic.h:53:1: + SIGTRAP = 5 // signum-generic.h:58:1: + SIGTSTP = 20 // signum.h:47:1: + SIGTTIN = 21 // signum-generic.h:71:1: + SIGTTOU = 22 // signum-generic.h:72:1: + SIGURG = 23 // signum.h:49:1: + SIGUSR1 = 10 // signum.h:37:1: + SIGUSR2 = 12 // signum.h:39:1: + SIGVTALRM = 26 // signum-generic.h:76:1: + SIGWINCH = 28 // signum-generic.h:83:1: + SIGXCPU = 24 // signum-generic.h:74:1: + SIGXFSZ = 25 // signum-generic.h:75:1: + SIG_BLOCK = 0 // sigaction.h:79:1: + SIG_SETMASK = 2 // sigaction.h:81:1: + SIG_UNBLOCK = 1 // sigaction.h:80:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_ENDIANNESS_H = 1 // endianness.h:2:1: + X_BITS_ENDIAN_H = 1 // endian.h:20:1: + X_BITS_PTHREADTYPES_ARCH_H = 1 // pthreadtypes-arch.h:19:1: + X_BITS_PTHREADTYPES_COMMON_H = 1 // pthreadtypes.h:20:1: + X_BITS_SIGACTION_H = 1 // sigaction.h:20:1: + X_BITS_SIGCONTEXT_H = 1 // sigcontext.h:19:1: + X_BITS_SIGEVENT_CONSTS_H = 1 // sigevent-consts.h:20:1: + X_BITS_SIGINFO_ARCH_H = 1 // siginfo-arch.h:3:1: + X_BITS_SIGINFO_CONSTS_H = 1 // siginfo-consts.h:20:1: + X_BITS_SIGNUM_GENERIC_H = 1 // signum-generic.h:20:1: + X_BITS_SIGNUM_H = 1 // signum.h:20:1: + X_BITS_SIGSTACK_H = 1 // sigstack.h:20:1: + X_BITS_SIGTHREAD_H = 1 // sigthread.h:20:1: + X_BITS_SS_FLAGS_H = 1 // ss_flags.h:20:1: + X_BITS_TIME64_H = 1 // time64.h:24:1: + X_BITS_TYPESIZES_H = 1 // typesizes.h:24:1: + X_BITS_TYPES_H = 1 // types.h:24:1: + X_BSD_SIZE_T_ = 0 // stddef.h:189:1: + X_BSD_SIZE_T_DEFINED_ = 0 // stddef.h:192:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_GCC_SIZE_T = 0 // stddef.h:195:1: + X_LP64 = 1 // <predefined>:284:1: + X_NSIG = 65 // signum-generic.h:100:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_RWLOCK_INTERNAL_H = 0 // struct_rwlock.h:21:1: + X_SIGNAL_H = 0 // signal.h:23:1: + X_SIZET_ = 0 // stddef.h:196:1: + X_SIZE_T = 0 // stddef.h:183:1: + X_SIZE_T_ = 0 // stddef.h:188:1: + X_SIZE_T_DECLARED = 0 // stddef.h:193:1: + X_SIZE_T_DEFINED = 0 // stddef.h:191:1: + X_SIZE_T_DEFINED_ = 0 // stddef.h:190:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_STRUCT_TIMESPEC = 1 // struct_timespec.h:3:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + X_SYS_SIZE_T_H = 0 // stddef.h:184:1: + X_SYS_UCONTEXT_H = 1 // ucontext.h:19:1: + X_THREAD_MUTEX_INTERNAL_H = 1 // struct_mutex.h:20:1: + X_THREAD_SHARED_TYPES_H = 1 // thread-shared-types.h:20:1: + X_T_SIZE = 0 // stddef.h:186:1: + X_T_SIZE_ = 0 // stddef.h:185:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // POSIX names to access some of the members. |