diff options
author | Jonathan Grant <jg@jguk.org> | 2023-03-07 21:57:44 +0000 |
---|---|---|
committer | Sandra Loosemore <sandra@codesourcery.com> | 2023-03-07 23:35:43 +0000 |
commit | c5c4fdaccdf444632c9872537b6026dc6758a952 (patch) | |
tree | d397870ae9c87571f61876a45c571a01a70ec776 | |
parent | c7867f82f4c08fb355bb0115ade51df8fdbe3832 (diff) | |
download | gcc-c5c4fdaccdf444632c9872537b6026dc6758a952.zip gcc-c5c4fdaccdf444632c9872537b6026dc6758a952.tar.gz gcc-c5c4fdaccdf444632c9872537b6026dc6758a952.tar.bz2 |
docs: Clarify LeakSanitizer in documentation [PR81649]
gcc/ChangeLog
PR sanitizer/81649
* doc/invoke.texi (Instrumentation Options): Clarify
LeakSanitizer behavior.
-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 2da6880..beb606f 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -16750,8 +16750,8 @@ operating on invalid memory addresses with non-call exceptions @opindex fsanitize=leak @item -fsanitize=leak Enable LeakSanitizer, a memory leak detector. -This option only matters for linking of executables and -the executable is linked against a library that overrides @code{malloc} +This option only matters for linking of executables. +The executable is linked against a library that overrides @code{malloc} and other allocator functions. See @uref{https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer} for more details. The run-time behavior can be influenced using the |