[PATCH] doc: improve -fsanitize=undefined description
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
*PING* [PATCH] doc: improve -fsanitize=undefined description
Please review my patch. It is tiny. Thank you. Diane On 9/15/21, 5:02 PM, "Diane Meirowitz" 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
*PING 2* [PATCH] doc: improve -fsanitize=undefined description
Please review my patch. It is tiny. Thank you. Diane On 9/15/21, 5:02 PM, "Diane Meirowitz" 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
*PING 3* [PATCH] doc: improve -fsanitize=undefined description
Please review my small doc patch. Thank you. Diane On 9/15/21, 5:02 PM, "Diane Meirowitz" 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
Re: *PING* [PATCH] doc: improve -fsanitize=undefined description
Richard, Thank you! Diane > On Oct 11, 2021, at 12:15 PM, Richard Sandiford > wrote: > > Diane Meirowitz via Gcc-patches writes: >> Please review my patch. It is tiny. Thank you. > > Thanks for the patch and sorry for the very slow response. > I've now pushed this to master and all active branches. > > Thanks, > Richard > >> Diane >> >> On 9/15/21, 5:02 PM, "Diane Meirowitz" 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://urldefense.com/v3/__https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html__;!!ACWV5N9M2RV99hQ!dN9bn2CtYUf6VFb3UO4i75Zzr6HpusAphlsd6n2QvKtF42rMqfoQhVZ3ZGKy-lviZid-$ >> } for more details. The run-time behavior can be influenced using the >>+@env{UBSAN_OPTIONS} environment variable. Current suboptions are: >> >>@table @gcctabopt