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

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 11:32:31 PST 2016


rnk added a comment.

Maybe there's a better way to do this. What if we wrote a custom personality function in the TSan RTL that wraps the normal personality function variants, and calls __tsan_func_exit internally? We can definitely do this for now, but it might be nice to experiment with the custom personality to win back the 10% code size bloat here.


https://reviews.llvm.org/D26177





More information about the llvm-commits mailing list