llvm-project/llvm/lib
Chris Dewhurst 69fa1926db [Sparc] Implement __builtin_setjmp, __builtin_longjmp back-end.
This code implements builtin_setjmp and builtin_longjmp exception handling intrinsics for 32-bit Sparc back-ends.

The code started as a mash-up of the PowerPC and X86 versions, although there are sufficient differences to both that had to be made for Sparc handling.

Note: I have manual tests running. I'll work on a unit test and add that to the rest of this diff in the next day.

Also, this implementation is only for 32-bit Sparc. I haven't focussed on a 64-bit version, although I have left the code in a prepared state for implementing this, including detecting pointer size and comments indicating where I suspect there may be differences.

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

llvm-svn: 268483
2016-05-04 09:33:30 +00:00
..
Analysis [ConstantFolding, ValueTracking] Fold constants involving bitcasts of ConstantVector 2016-05-04 06:13:33 +00:00
AsmParser IR: Enable debug info type ODR uniquing for forward decls 2016-04-19 18:00:19 +00:00
Bitcode Clean up to avoid compiler warnings for casting away const qualifiers. 2016-04-27 18:35:02 +00:00
CodeGen Add opt-bisect support to additional passes that can be skipped 2016-05-03 22:32:30 +00:00
DebugInfo Remove unused variable. 2016-05-03 22:26:46 +00:00
ExecutionEngine Thread Expected<...> up from libObject’s getType() for symbols to allow llvm-objdump to produce a good error message. 2016-05-02 20:28:12 +00:00
Fuzzer [libFuzzer] enable detect_leaks=1, add proper docs 2016-04-29 18:49:55 +00:00
IR Revert "[SimplifyCFG] Extend TryToSimplifyUncondBranchFromEmptyBlock for empty block including lifetime intrinsics" 2016-05-02 19:43:22 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO [IPO/GlobalDCE] Port to the new pass manager. 2016-05-03 19:39:15 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Fix recursive -only-needed. 2016-04-21 14:56:33 +00:00
MC [mips] Use MipsMCExpr instead of MCSymbolRefExpr for all relocations. 2016-05-03 13:35:44 +00:00
Object Produce another specific error message for a malformed Mach-O file when a load 2016-05-03 23:13:50 +00:00
ObjectYAML [lanai] Add Lanai backend. 2016-03-28 13:09:54 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes PM: Port LoopRotation to the new loop pass manager 2016-05-03 22:02:31 +00:00
ProfileData [ProfileData] Propagate an error from InstrProfSymtab 2016-05-03 20:01:01 +00:00
Support Move llvm-readobj/StreamWriter to Support. 2016-05-03 00:28:04 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [Sparc] Implement __builtin_setjmp, __builtin_longjmp back-end. 2016-05-04 09:33:30 +00:00
Transforms [IPO/ConstantMerge] Convert to static function, to facilitate transition to the new PM. 2016-05-04 03:21:20 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00