diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-11-14 21:41:33 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-11-14 21:41:33 +0000 |
commit | b0dd454a1aab173c1d951b1b614b07d851d894cd (patch) | |
tree | 7942c5d91d01536d1ef93627ab42726a150dc4e2 /lldb/packages/Python/lldbsuite/support/funcutils.py | |
parent | ddfdba3b01fa2ca9066feaf472feb78da1ca2cfc (diff) | |
download | bcm5719-llvm-b0dd454a1aab173c1d951b1b614b07d851d894cd.tar.gz bcm5719-llvm-b0dd454a1aab173c1d951b1b614b07d851d894cd.zip |
[tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), compiler-rt part
This adds support for TSan C++ exception handling, where we need to add extra calls to __tsan_func_exit when a function is exitted via exception mechanisms. Otherwise the shadow stack gets corrupted (leaked). This patch moves and enhances the existing implementation of EscapeEnumerator that finds all possible function exit points, and adds extra EH cleanup blocks where needed.
Differential Revision: https://reviews.llvm.org/D26177
llvm-svn: 286894
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/funcutils.py')
0 files changed, 0 insertions, 0 deletions