Bugzilla Bug 81649 [PATCH]: Clarify LeakSanitizer in documentation

Message ID 73790291-35fa-df87-38a5-7fcb6cd7d1cf@jguk.org
State Accepted
Headers
Series Bugzilla Bug 81649 [PATCH]: Clarify LeakSanitizer in documentation |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

Jonny Grant March 1, 2023, 12:53 p.m. UTC
  Hello
I don't have write access, could someone review and apply this please?
Kind regards
Jonny




-------- Forwarded Message --------
Subject: Bugzilla Bug 81649 [PATCH]: Clarify LeakSanitizer in documentation
Date: Mon, 26 Dec 2022 20:50:23 +0000
From: Jonny Grant <jg@jguk.org>
To: gcc-patches@gcc.gnu.org

My ticket, but text change proposed by Jakub Jelinek.

2022-12-26  Jonathan Grant <jg@jguk.org>
	* gcc/doc/invoke.texi: Clarify LeakSanitizer in documentation
	

>From 2d70a3728536151c4c2f78b6c5d5281ce2233d43 Mon Sep 17 00:00:00 2001
From: Jonathan Grant <jg@jguk.org>
Date: Mon, 26 Dec 2022 20:46:23 +0000
Subject: [PATCH] Bugzilla 81649 clarify LeakSanitizer onlinedocs

Signed-off-by: Jonathan Grant <jg@jguk.org>
---
 gcc/doc/invoke.texi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Sandra Loosemore March 7, 2023, 11:42 p.m. UTC | #1
On 3/1/23 05:53, Jonny Grant wrote:
> Hello
> I don't have write access, could someone review and apply this please?
> Kind regards
> Jonny

Looks good; I've gone ahead and pushed it for you.

-Sandra
  
Jonny Grant March 9, 2023, 10:06 p.m. UTC | #2
On 07/03/2023 23:42, Sandra Loosemore wrote:
> On 3/1/23 05:53, Jonny Grant wrote:
>> Hello
>> I don't have write access, could someone review and apply this please?
>> Kind regards
>> Jonny
> 
> Looks good; I've gone ahead and pushed it for you.
> 
> -Sandra

Awesome - thank you. My first gcc patch.
Jonny
  

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index da9ad1068fb..6743204adc0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -16668,8 +16668,8 @@  operating on invalid memory addresses with non-call exceptions
 @item -fsanitize=leak
 @opindex 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