]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
docs: Clarify LeakSanitizer in documentation [PR81649]
authorJonathan Grant <jg@jguk.org>
Tue, 7 Mar 2023 21:57:44 +0000 (21:57 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Tue, 7 Mar 2023 23:35:43 +0000 (23:35 +0000)
gcc/ChangeLog

PR sanitizer/81649
* doc/invoke.texi (Instrumentation Options):  Clarify
LeakSanitizer behavior.

gcc/doc/invoke.texi

index 2da68802356efb5baef19f5efa0b18abcb1ddf40..beb606fcd1bdf744acc8c71ea957467302958827 100644 (file)
@@ -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