[PATCH] D26177: [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding)

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 16:45:39 PST 2016


kubabrecka added a comment.

I tested the setjmp/longjmp and it's okay on Darwin and Linux.  Since this C++ exceptions support doesn't support exceptions on Windows, I didn't even try that.  Reid, could you test this patch for me if it breaks compilation on Windows?

I'm also not sure what does it mean when a nounwind function calls something that's not nounwind.  Should we instrument in this case?

Lastly, do you have an example that would trigger this instrumentation, but should not with -fno-exceptions?


https://reviews.llvm.org/D26177





More information about the llvm-commits mailing list