From: Matthew Malcomson Date: Mon, 4 Jan 2021 12:06:27 +0000 (+0000) Subject: docs: Fix wording describing the hwaddress sanitizer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f2b73175666f678adbf007907c7aa2661284bd3;p=gcc.git docs: Fix wording describing the hwaddress sanitizer The original documentation added to mention the clash between -fsanitize=address and -fsanitize=hwaddress used confusing wording trying to say that -fsanitize=hwaddress is only available on AArch64. It read as if -fsanitize=address were only supported on AArch64. This patch fixes that wording by being more explicit. gcc/ChangeLog: PR other/98437 * doc/invoke.texi (-fsanitize=address): Fix wording describing clash with -fsanitize=hwaddress. --- diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 97aea535d90..b378e63d6bc 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -14672,8 +14672,8 @@ the available options are shown at startup of the instrumented program. See @url{https://github.com/google/sanitizers/wiki/AddressSanitizerFlags#run-time-flags} for a list of supported options. The option cannot be combined with @option{-fsanitize=thread} or -@option{-fsanitize=hwaddress}. Note that the only target this option is -currently supported on is AArch64. +@option{-fsanitize=hwaddress}. Note that the only target +@option{-fsanitize=hwaddress} is currently supported on is AArch64. @item -fsanitize=kernel-address @opindex fsanitize=kernel-address