llvm-6502/test
Reid Kleckner 34c6bb0ef0 [SEH] Add new intrinsics for recovering and restoring parent frames
The incoming EBP value established by the runtime is actually a pointer
to the end of the EH registration object, and not the true parent
function frame pointer. Clang doesn't need llvm.x86.seh.exceptioninfo
anymore because we know that the exception info pointer is at a fixed
offset from this incoming EBP.

The llvm.x86.seh.recoverfp intrinsic takes an EBP value provided by the
EH runtime and returns a pointer that is usable with llvm.framerecover.

The llvm.x86.seh.restoreframe intrinsic is inserted by the 32-bit
specific preparation pass in blocks targetted by the EH runtime. It
re-establishes any physical registers used by the parent function to
address the stack, such as the frame, base, and stack pointers.

Neither of these intrinsics correctly handle stack realignment prologues
yet, but it's possible to add that later.

Reviewers: majnemer

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241125 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-30 22:46:59 +00:00
..
Analysis
Assembler Add a DIModule metadata node to the IR. 2015-06-29 23:03:47 +00:00
Bindings
Bitcode
BugPoint
CodeGen [SEH] Add new intrinsics for recovering and restoring parent frames 2015-06-30 22:46:59 +00:00
DebugInfo Debug info: Add dwarf backend support for DIModule. 2015-06-30 02:13:04 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LibDriver
Linker
LTO
MC [mips] [IAS] Add support for the .module softfloat/hardfloat directives. 2015-06-30 13:46:03 +00:00
Object Remove Elf_Shdr_Iter. Diagnose files with invalid section header sizes. 2015-06-30 19:58:10 +00:00
Other
SymbolRewriter
TableGen
tools
Transforms Correct a typo for a LoopVectorize test 2015-06-30 10:05:43 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh