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

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


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

None

>From 649e184e37ba94ac77b840ae4d02213a8fb77ab5 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 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:
 



More information about the cfe-commits mailing list