public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-9095] doc: improve -fsanitize=undefined description
@ 2021-10-11 16:13 Richard Sandiford
0 siblings, 0 replies; only message in thread
From: Richard Sandiford @ 2021-10-11 16:13 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b7c46a1d1ce1b29cc5c78d91d83a82c6a488bde7
commit r11-9095-gb7c46a1d1ce1b29cc5c78d91d83a82c6a488bde7
Author: Diane Meirowitz <diane.meirowitz@oracle.com>
Date: Wed Sep 15 21:03:00 2021 +0000
doc: improve -fsanitize=undefined description
gcc/ChangeLog:
* doc/invoke.texi: Add link to UndefinedBehaviorSanitizer
documentation, mention UBSAN_OPTIONS, similar to what is done
for AddressSanitizer.
(cherry picked from commit 1c0a83eff7bb5b1db997a9726ae6542aec893baa)
Diff:
---
gcc/doc/invoke.texi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 6fb740bacd3..eae00f87918 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14837,7 +14837,8 @@ The option cannot be combined with @option{-fsanitize=thread}.
@opindex fsanitize=undefined
Enable UndefinedBehaviorSanitizer, a fast undefined behavior detector.
Various computations are instrumented to detect undefined behavior
-at runtime. Current suboptions are:
+at runtime. See @uref{https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html} for more details. The run-time behavior can be influenced using the
+@env{UBSAN_OPTIONS} environment variable. Current suboptions are:
@table @gcctabopt
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-11 16:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 16:13 [gcc r11-9095] doc: improve -fsanitize=undefined description Richard Sandiford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).