================
@@ -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
----------------
dvyukov wrote:
Are you sure exceptions are not supported?
```
llvm$ grep -i except llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp
static cl::opt<bool> ClHandleCxxExceptions(
"tsan-handle-cxx-exceptions", cl::init(true),
cl::desc("Handle C++ exceptions (insert cleanup blocks for unwinding)"),
```
https://github.com/llvm/llvm-project/pull/205761
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits