[clang] [clang][docs] Document ThreadSanitizer run-time flags and suppressions (PR #205761)
Alexander Potapenko via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 25 03:05:31 PDT 2026
================
@@ -187,6 +198,24 @@ Limitations
``fsanitize=thread`` flag will cause Clang to act as though the ``-fPIE``
flag had been supplied if compiling without ``-fPIC``, and as though the
``-pie`` flag had been supplied if linking an executable.
+* ThreadSanitizer does not support C++ exceptions. Programs relying heavily on
----------------
ramosian-glider wrote:
That's where I needed the sanity check :)
My understanding was that not all cases were covered, and TSan may choke on non-instrumented code. But TBH I haven't tried it myself.
https://github.com/llvm/llvm-project/pull/205761
More information about the cfe-commits
mailing list