[clang] [rtsan] NFC: Update docs with suppress_equal_stacks (PR #117187)

2024-11-21 Thread Chris Apple via cfe-commits

https://github.com/cjappl created 
https://github.com/llvm/llvm-project/pull/117187

None

>From b5888f70bd1bbefc6a711ef2022478980ed2505f Mon Sep 17 00:00:00 2001
From: Chris Apple 
Date: Thu, 21 Nov 2024 08:45:33 -0800
Subject: [PATCH] [rtsan] NFC: Update docs with suppress_equal_stacks

---
 clang/docs/RealtimeSanitizer.rst | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/clang/docs/RealtimeSanitizer.rst b/clang/docs/RealtimeSanitizer.rst
index 5431e38fea62ec..233a91f6684162 100644
--- a/clang/docs/RealtimeSanitizer.rst
+++ b/clang/docs/RealtimeSanitizer.rst
@@ -167,7 +167,11 @@ A **partial** list of flags RealtimeSanitizer respects:
* - ``halt_on_error``
  - ``true``
  - boolean
- - Exit after first reported error. If false (continue after a detected 
error), deduplicates error stacks so errors appear only once.
+ - Exit after first reported error.
+   * - ``suppress_equal_stacks``
+ - ``true``
+ - boolean
+ - If true, suppress duplicate reports (i.e. only print each unique error 
once). Only particularly useful when ``halt_on_error=false``.
* - ``print_stats_on_exit``
  - ``false``
  - boolean

___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [rtsan] NFC: Update docs with suppress_equal_stacks (PR #117187)

2024-11-21 Thread Chris Apple via cfe-commits

https://github.com/cjappl closed 
https://github.com/llvm/llvm-project/pull/117187
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [rtsan] NFC: Update docs with suppress_equal_stacks (PR #117187)

2024-11-21 Thread via cfe-commits

https://github.com/davidtrevelyan approved this pull request.


https://github.com/llvm/llvm-project/pull/117187
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [rtsan] NFC: Update docs with suppress_equal_stacks (PR #117187)

2024-11-21 Thread Florian Mayer via cfe-commits

https://github.com/fmayer approved this pull request.


https://github.com/llvm/llvm-project/pull/117187
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [rtsan] NFC: Update docs with suppress_equal_stacks (PR #117187)

2024-11-21 Thread via cfe-commits

llvmbot wrote:




@llvm/pr-subscribers-clang

Author: Chris Apple (cjappl)


Changes



---
Full diff: https://github.com/llvm/llvm-project/pull/117187.diff


1 Files Affected:

- (modified) clang/docs/RealtimeSanitizer.rst (+5-1) 


``diff
diff --git a/clang/docs/RealtimeSanitizer.rst b/clang/docs/RealtimeSanitizer.rst
index 5431e38fea62ec..233a91f6684162 100644
--- a/clang/docs/RealtimeSanitizer.rst
+++ b/clang/docs/RealtimeSanitizer.rst
@@ -167,7 +167,11 @@ A **partial** list of flags RealtimeSanitizer respects:
* - ``halt_on_error``
  - ``true``
  - boolean
- - Exit after first reported error. If false (continue after a detected 
error), deduplicates error stacks so errors appear only once.
+ - Exit after first reported error.
+   * - ``suppress_equal_stacks``
+ - ``true``
+ - boolean
+ - If true, suppress duplicate reports (i.e. only print each unique error 
once). Only particularly useful when ``halt_on_error=false``.
* - ``print_stats_on_exit``
  - ``false``
  - boolean

``




https://github.com/llvm/llvm-project/pull/117187
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits