[clang] 8843d2b - [rtsan] Add `verify_interceptors` flag to docs (#119074)

via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 8 09:34:43 PST 2024


Author: Chris Apple
Date: 2024-12-08T09:34:40-08:00
New Revision: 8843d2b4695419caa774b40582146446f350a504

URL: https://github.com/llvm/llvm-project/commit/8843d2b4695419caa774b40582146446f350a504
DIFF: https://github.com/llvm/llvm-project/commit/8843d2b4695419caa774b40582146446f350a504.diff

LOG: [rtsan] Add `verify_interceptors` flag to docs (#119074)

Added: 
    

Modified: 
    clang/docs/RealtimeSanitizer.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/RealtimeSanitizer.rst b/clang/docs/RealtimeSanitizer.rst
index 2aec728cfed583..f5d29af2bef3c5 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 and Suppressing`_.
-
+   * - ``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:
 


        


More information about the cfe-commits mailing list