* *PING 2* [PATCH] doc: improve -fsanitize=undefined description
@ 2021-09-29 19:56 Diane Meirowitz
0 siblings, 0 replies; only message in thread
From: Diane Meirowitz @ 2021-09-29 19:56 UTC (permalink / raw)
To: gcc-patches
Please review my patch. It is tiny. Thank you.
Diane
On 9/15/21, 5:02 PM, "Diane Meirowitz" <diane.meirowitz@oracle.com> wrote:
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.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 78cfc100ac2..f022885edf8 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -15200,7 +15200,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-09-29 20:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 19:56 *PING 2* [PATCH] doc: improve -fsanitize=undefined description Diane Meirowitz
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).