summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMoritz Buhl <mbuhl@cvs.openbsd.org>2024-09-06 13:32:00 +0000
committerMoritz Buhl <mbuhl@cvs.openbsd.org>2024-09-06 13:32:00 +0000
commit836af9af0fe32e58f28d44aaba81c5a1be6df6fb (patch)
tree6093873de73c399ca27501358c65856b4e2956e7 /share
parent4818f838bda1c1efc7554741c79d7c4c8e33aa13 (diff)
Fix KUBSAN by adding invalid builtin detection, as needed by our current clang.
ok anton@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/kubsan.44
1 files changed, 3 insertions, 1 deletions
diff --git a/share/man/man4/kubsan.4 b/share/man/man4/kubsan.4
index 6165a1ebbb5..db3866d2b66 100644
--- a/share/man/man4/kubsan.4
+++ b/share/man/man4/kubsan.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: kubsan.4,v 1.4 2024/09/06 13:30:59 mbuhl Exp $
+.\" $OpenBSD: kubsan.4,v 1.5 2024/09/06 13:31:59 mbuhl Exp $
.\"
.\" Copyright (c) 2019 Anton Lindqvist <anton@openbsd.org>
.\"
@@ -69,6 +69,8 @@ Passing
.Dv NULL
as the value for a function argument annotated with
.Dv __nonnull__ .
+.It Invalid builtin
+Passing zero to a compiler builtin where not allowed.
.It Invalid load
Loading a value that cannot be represented by the destination type.
.It Type mismatch