aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/SymbolicFile.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2016-11-14 21:41:33 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2016-11-14 21:41:33 +0000
commitb0dd454a1aab173c1d951b1b614b07d851d894cd (patch)
tree7942c5d91d01536d1ef93627ab42726a150dc4e2 /llvm/lib/Object/SymbolicFile.cpp
parentddfdba3b01fa2ca9066feaf472feb78da1ca2cfc (diff)
downloadllvm-b0dd454a1aab173c1d951b1b614b07d851d894cd.zip
llvm-b0dd454a1aab173c1d951b1b614b07d851d894cd.tar.gz
llvm-b0dd454a1aab173c1d951b1b614b07d851d894cd.tar.bz2
[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 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions