llvm-project/clang
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
..
INPUTS
bindings [libclang] Expose the ElaboratedType 2016-05-03 06:58:29 +00:00
cmake [CMake] Enable LIBCXX HEADERS in Apple-Stage2.cmake 2016-05-02 22:43:23 +00:00
docs Add address space 258 (X86 SS segment) to clang documentation. 2016-05-03 20:20:59 +00:00
examples
include [Clang][Builtin][AVX512] Adding intrinsics fot cvt{u}si2s{d|s} cvt{sd|ss}2{ss|sd} instruction set 2016-05-04 08:55:11 +00:00
lib [Sparc] Implement __builtin_setjmp, __builtin_longjmp back-end. 2016-05-04 09:33:30 +00:00
runtime Re-apply r267784, r267824 and r267830. 2016-04-28 17:09:37 +00:00
test [Clang][Builtin][AVX512] Adding intrinsics fot cvt{u}si2s{d|s} cvt{sd|ss}2{ss|sd} instruction set 2016-05-04 08:55:11 +00:00
tools [scan-build] fix dead store warnings emitted on clang code base 2016-05-03 22:14:14 +00:00
unittests
utils Revert unnecessary tblgen change. 2016-04-27 20:49:44 +00:00
www
.arcconfig
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] On Darwin bootstrap LTO builds set DYLD_LIBRARY_PATH instead of using llvm-ar 2016-04-27 18:52:48 +00:00
CODE_OWNERS.TXT
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:              http://clang.llvm.org/
Building and using Clang:          http://clang.llvm.org/get_started.html
Clang Static Analyzer:             http://clang-analyzer.llvm.org/
Information on the LLVM project:   http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang development mailing list:
  http://lists.llvm.org/mailman/listinfo/cfe-dev

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/