1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test
David Majnemer 544b600088 [WinEH] Make setjmp work correctly with EH
32-bit X86 EH on Windows utilizes a stack of registration nodes
allocated and deallocated on entry/exit.  A registration node contains a
bunch of EH personality specific information like which try-state we are
currently in.

Because a setjmp target allows control flow from arbitrary program
points, there is no way to ensure that the try-state we are in is
correctly updated once we transfer control.

MSVC compatible compilers, like MSVC and ICC, utilize runtime helpers to
reinitialize the try-state when a longjmp occurs.  This is implemented
by adding additional arguments to _setjmp3: the desired try-state and
a helper routine to update the try-state.

Differential Revision: http://reviews.llvm.org/D17721

llvm-svn: 262241
2016-02-29 19:16:03 +00:00
..
Analysis Another fix the testcase introduced by r261903 - Add the missing matches 2016-02-26 03:41:47 +00:00
Assembler
Bindings Add support for invoke/landingpad/resume in C API test 2016-02-18 20:38:32 +00:00
Bitcode Restore "[ThinLTO] Use MD5 hash in function index." with fix 2016-02-10 21:55:02 +00:00
BugPoint
CodeGen [WinEH] Make setjmp work correctly with EH 2016-02-29 19:16:03 +00:00
DebugInfo [CodeView] Describe variables live in x87 registers 2016-02-24 10:01:24 +00:00
Examples
ExecutionEngine Disable the new Orc lazy JIT tests on Windows, they do not pass 2016-02-10 18:46:42 +00:00
Feature [GMR/OperandBundles] Teach getModRefBehavior about operand bundles 2016-02-09 02:31:47 +00:00
FileCheck Revert r262092, caught LLD tests 2016-02-26 23:44:10 +00:00
Instrumentation [PGO] Remove redundant counter copies for avail_extern functions. 2016-02-27 23:11:30 +00:00
Integer
JitListener
LibDriver
Linker [ThinLTO] Remove imported available externally defs from comdats. 2016-02-08 18:47:20 +00:00
LTO
MC [mips] Range check uimm20 and fixed a bug this revealed. 2016-02-29 16:06:38 +00:00
Object IRObject: Mark extern_weak as weak. 2016-02-29 14:26:06 +00:00
Other [PM] Wire up optimization levels and default pipeline construction APIs 2016-02-28 22:16:03 +00:00
SymbolRewriter
TableGen SelectionDAG: Make Properties a field of SDPatternOperator 2016-02-10 18:40:04 +00:00
tools [sancov] print_coverage_points command. 2016-02-27 02:21:44 +00:00
Transforms [InstSimplify] Restore fsub 0.0, (fsub 0.0, X) ==> X optzn 2016-02-29 12:18:25 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
TestRunner.sh