public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-6441] docs: Fix wording describing the hwaddress sanitizer
@ 2021-01-04 12:06 Matthew Malcomson
  0 siblings, 0 replies; only message in thread
From: Matthew Malcomson @ 2021-01-04 12:06 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:7f2b73175666f678adbf007907c7aa2661284bd3

commit r11-6441-g7f2b73175666f678adbf007907c7aa2661284bd3
Author: Matthew Malcomson <matthew.malcomson@arm.com>
Date:   Mon Jan 4 12:06:27 2021 +0000

    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:
---
 gcc/doc/invoke.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-04 12:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-04 12:06 [gcc r11-6441] docs: Fix wording describing the hwaddress sanitizer Matthew Malcomson

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).