[clang] [rtsan] Add `verify_interceptors` flag to docs (PR #119074)

via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 7 07:47:40 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Chris Apple (cjappl)

<details>
<summary>Changes</summary>



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


1 Files Affected:

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


``````````diff
diff --git a/clang/docs/RealtimeSanitizer.rst b/clang/docs/RealtimeSanitizer.rst
index 233a91f6684162..ef73ae3f1770e8 100644
--- a/clang/docs/RealtimeSanitizer.rst
+++ b/clang/docs/RealtimeSanitizer.rst
@@ -196,7 +196,10 @@ A **partial** list of flags RealtimeSanitizer respects:
      - ""
      - path
      - If set to a valid suppressions file, will suppress issue reporting. See details in "Disabling", below.
-
+   * - ``verify_interceptors``
+     - ``true``
+     - boolean
+     - If true, verifies interceptors are working at initialization. The program will abort with error ``==ERROR: Interceptors are not working. This may be because RealtimeSanitizer is loaded too late (e.g. via dlopen)`` if an issue is detected.
 
 Some issues with flags can be debugged using the ``verbosity=$NUM`` flag:
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/119074


More information about the cfe-commits mailing list