summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go')
-rw-r--r--vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go13
1 files changed, 8 insertions, 5 deletions
diff --git a/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go b/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
index af730b5ff..d545c30e6 100644
--- a/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
+++ b/vendor/modernc.org/libc/stdlib/stdlib_freebsd_amd64.go
@@ -26,9 +26,9 @@ const (
X_MKDTEMP_DECLARED = 0 // stdlib.h:192:1:
X_MKSTEMP_DECLARED = 0 // stdlib.h:196:1:
X_MKTEMP_DECLARED = 0 // stdlib.h:221:1:
- X_Nonnull = 0 // cdefs.h:783:1:
- X_Null_unspecified = 0 // cdefs.h:785:1:
- X_Nullable = 0 // cdefs.h:784:1:
+ X_Nonnull = 0 // cdefs.h:790:1:
+ X_Null_unspecified = 0 // cdefs.h:792:1:
+ X_Nullable = 0 // cdefs.h:791:1:
X_RSIZE_T_DEFINED = 0 // stdlib.h:339:1:
X_RUNE_T_DECLARED = 0 // stdlib.h:47:1:
X_SIZE_T_DECLARED = 0 // stdlib.h:53:1:
@@ -36,7 +36,7 @@ const (
X_SYS_CDEFS_H_ = 0 // cdefs.h:39:1:
X_SYS__TYPES_H_ = 0 // _types.h:32:1:
X_WCHAR_T_DECLARED = 0 // stdlib.h:59:1:
- Unix = 1 // <predefined>:337:1:
+ Unix = 1 // <predefined>:340:1:
)
type Ptrdiff_t = int64 /* <builtin>:3:26 */
@@ -306,12 +306,15 @@ type X__float128 = float64 /* <builtin>:47:21 */
// Function should not be analyzed.
-// Function or variable should not be sanitized, i.e. by AddressSanitizer.
+// Function or variable should not be sanitized, e.g., by AddressSanitizer.
// GCC has the nosanitize attribute, but as a function attribute only, and
// warns on use as a variable attribute.
// Guard variables and structure members by lock.
+// Alignment builtins for better type checking and improved code generation.
+// Provide fallback versions for other compilers (GCC/Clang < 10):
+
// -
// SPDX-License-Identifier: BSD-2-Clause-FreeBSD
//