Go to file
David Majnemer 310e3a8f60 MS ABI: Implement proper support for setjmp
On targets which use the MSVCRT, setjmp is a macro which expands to
_setjmp or _setjmpex.

_setjmp and _setjmpex have a secret, hidden argument which is not listed
in the function prototype on X64 and WoA.  This hidden argument always
seems to be the frame pointer.

_setjmpex isn't used on X86, _setjmp is magically replaced with a call
to _setjmp3.  The second argument is zero for 'normal' setjmp/longjmp
pairs, otherwise it is a count of additional variadic arguments.  This
is used when setjmp appears inside of a try or __try.

It is not safe to use a pointer to setjmp because _setjmp, _setjmpex and
_setmp3 are not compatible with setjmp.

llvm-svn: 227426
2015-01-29 09:29:21 +00:00
clang MS ABI: Implement proper support for setjmp 2015-01-29 09:29:21 +00:00
clang-tools-extra NFC. Migrating clang-tools-extra to the cl::HideUnrelatedOptions API. 2015-01-28 22:45:26 +00:00
compiler-rt [asan] use getrusage as an alternative to reading /proc/self/statm. Also move GetRSS to sanitizer_linux_libcdep.cc (no change in the function itself) 2015-01-29 02:54:39 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Use amdgcn triple for SI+ GPUs 2015-01-06 20:42:12 +00:00
libcxx Fix for PR22061 by K-ballo 2015-01-28 22:22:35 +00:00
libcxxabi Adopt CMake policy CMP0042. Set MACOSX_RPATH on by default. 2015-01-26 22:00:30 +00:00
lld Fix MSVC C4060 warning (switch statement contains no case or default). 2015-01-29 00:56:24 +00:00
lldb If lldb is being built with ASAN instrumentation, have lldb 2015-01-29 06:28:36 +00:00
llgo irgen: don't emit debug metadata for locals 2015-01-29 00:34:30 +00:00
llvm Fix the preprocessor checks used to determine if backtraces have been enabled. 2015-01-29 07:53:13 +00:00
openmp Comments only: removing the Revision and Date svn variables from the top of all the source files. 2015-01-27 17:13:53 +00:00
polly [FIX] Correct two C snippets in test cases 2015-01-29 00:50:46 +00:00