diff options
author | Matthew Malcomson <matthew.malcomson@arm.com> | 2021-01-04 12:06:27 +0000 |
---|---|---|
committer | Matthew Malcomson <matthew.malcomson@arm.com> | 2021-01-04 12:06:27 +0000 |
commit | 7f2b73175666f678adbf007907c7aa2661284bd3 (patch) | |
tree | 8f5de8844dcb37fb92d761dca471c5fbb0226a90 /gcc | |
parent | 13b80a7d1b9b712651f5ece589634a6e57c26362 (diff) | |
download | gcc-7f2b73175666f678adbf007907c7aa2661284bd3.zip gcc-7f2b73175666f678adbf007907c7aa2661284bd3.tar.gz gcc-7f2b73175666f678adbf007907c7aa2661284bd3.tar.bz2 |
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 97aea53..b378e63 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 |