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

Chris Apple via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 7 08:27:08 PST 2024


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

>From 2c882a78ce82801590a6bfd217c8e8b8e4b4c6f5 Mon Sep 17 00:00:00 2001
From: Chris Apple <cja-private at pm.me>
Date: Sat, 7 Dec 2024 07:45:34 -0800
Subject: [PATCH] [rtsan] Add `verify_interceptors` to docs

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

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