================
@@ -84,6 +84,75 @@ non-zero exit code.
     #14 0x0001958960dc  (<unknown module>)
     #15 0x2f557ffffffffffc  (<unknown module>)
 
+Run-time flags
+--------------
+
+RealtimeSanitizer supports a number of run-time flags, which can be specified 
in the ``RTSAN_OPTIONS`` environment variable:
+
+.. code-block:: console
+
+   % RTSAN_OPTIONS=option_1=true:path_option_2="/some/file.txt" ./a.out
+   ...
+
+Or at compile-time by overloading the symbol ``__rtsan_default_options``:
----------------
davidtrevelyan wrote:

I've also seen "override" as a term for a strong symbol being selected over a 
weak symbol - would that be appropriate here? We could say something like `Or 
at compile-time by overriding the weak symbol ``__rtsan_default_options`` `. I 
also like making the visibility attribute explicit on the code block 👍 

https://github.com/llvm/llvm-project/pull/110296
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to