You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[NFC][rtsan] Update docs to include [[clang::blocking]] (#111249)
Updates the RealtimeSanitizer documentation to:
- include information about how to use `[[clang::blocking]]`, and
- update the displayed error messages to the latest style
Call to blocking function `wait_for_permission()` in real-time context!
120
+
#0 0x0001000c3db0 in wait_for_permission()+0x10 (a.out:arm64+0x100003db0)
121
+
#1 0x0001000c3e3c in real_time_function()+0x10 (a.out:arm64+0x100003e3c)
122
+
#2 0x0001000c3e68 in main+0x10 (a.out:arm64+0x100003e68)
123
+
#3 0x00019bfe3150 (<unknown module>)
124
+
#4 0x5a27fffffffffffc (<unknown module>)
125
+
86
126
87
127
Run-time flags
88
128
--------------
@@ -159,7 +199,7 @@ Disabling
159
199
160
200
In some circumstances, you may want to suppress error reporting in a specific scope.
161
201
162
-
In C++, this is achieved via ``__rtsan::ScopedDisabler``. Within the scope where the ``ScopedDisabler`` object is instantiated, all sanitizer error reports are suppressed. This suppression applies to the current scope as well as all invoked functions, including any functions called transitively.
202
+
In C++, this is achieved via ``__rtsan::ScopedDisabler``. Within the scope where the ``ScopedDisabler`` object is instantiated, all sanitizer error reports are suppressed. This suppression applies to the current scope as well as all invoked functions, including any functions called transitively.
163
203
164
204
.. code-block:: c++
165
205
@@ -174,7 +214,7 @@ In C++, this is achieved via ``__rtsan::ScopedDisabler``. Within the scope wher
174
214
175
215
If RealtimeSanitizer is not enabled at compile time (i.e., the code is not compiled with the ``-fsanitize=realtime`` flag), the ``ScopedDisabler`` is compiled as a no-op.
176
216
177
-
In C, you can use the ``__rtsan_disable()`` and ``rtsan_enable()`` functions to manually disable and re-enable RealtimeSanitizer checks.
217
+
In C, you can use the ``__rtsan_disable()`` and ``rtsan_enable()`` functions to manually disable and re-enable RealtimeSanitizer checks.
0 commit comments