1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/include/llvm/Transforms
Kuba Brecka 06fe9815da [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM 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: 286893
2016-11-14 21:41:13 +00:00
..
InstCombine Do a sweep over move ctors and remove those that are identical to the default. 2016-10-20 12:20:28 +00:00
IPO Bitcode: Change module reader functions to return an llvm::Expected. 2016-11-13 07:00:17 +00:00
Scalar [JumpThreading] Unfold selects that depend on the same condition 2016-11-08 14:53:30 +00:00
Utils [tsan] Add support for C++ exceptions into TSan (call __tsan_func_exit during unwinding), LLVM part 2016-11-14 21:41:13 +00:00
Vectorize [SLP] Don't pass a global CL option as an argument. NFC. 2016-09-02 19:09:50 +00:00
Coroutines.h [coroutines] Part 3 of N: Adding Boilerplate for Coroutine Passes 2016-07-28 21:04:31 +00:00
GCOVProfiler.h Consistently use ModuleAnalysisManager 2016-08-09 00:28:38 +00:00
InstrProfiling.h Utility functions for appending to llvm.used/llvm.compiler.used. 2016-10-25 23:53:31 +00:00
Instrumentation.h Use -fsanitize-recover instead of -mllvm -msan-keep-going. 2016-11-07 21:00:10 +00:00
IPO.h Add -strip-nonlinetable-debuginfo capability 2016-10-25 18:44:13 +00:00
ObjCARC.h
PGOInstrumentation.h Consistently use ModuleAnalysisManager 2016-08-09 00:28:38 +00:00
SampleProfile.h Consistently use ModuleAnalysisManager 2016-08-09 00:28:38 +00:00
Scalar.h Add Loop Sink pass to reverse the LICM based of basic block frequency. 2016-10-27 16:30:08 +00:00
Vectorize.h LoadStoreVectorizer: Check TTI for vec reg bit width 2016-07-01 02:07:22 +00:00