Go to file
Bob Wilson d7bef6972d Use _Unwind_Backtrace on Apple platforms.
Darwin's backtrace() function does not work with sigaltstack (which was
enabled when available with r270395) — it does a sanity check to make
sure that the current frame pointer is within the expected stack area
(which it is not when using an alternate stack) and gives up otherwise.
The alternative of _Unwind_Backtrace seems to work fine on macOS, so use
that when backtrace() fails. Note that we then use backtrace_symbols_fd()
with the addresses from _Unwind_Backtrace, but I’ve tested that and it
also seems to work fine. rdar://problem/28646552

llvm-svn: 286851
2016-11-14 17:56:18 +00:00
clang [OpenCL] Fix for integer parameters of enqueue_kernel 2016-11-14 17:39:58 +00:00
clang-tools-extra [clang-move] Fix an incorrect range for the functions whose returned value is a macro 2016-11-14 14:46:48 +00:00
compiler-rt Split strncmp and strncasecmp test and XFAIL one for Windows 2016-11-14 17:51:11 +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 Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx [libcxx] [test] D26314: Fix MSVC warning C4189 "local variable is initialized but not referenced". 2016-11-14 17:35:14 +00:00
libcxxabi __cxa_demangle: allow demangling invocation blocks 2016-11-14 03:07:47 +00:00
libunwind [CMake] Get libunwind building under LLVM/runtimes 2016-11-08 23:02:49 +00:00
lld Fix program header propagation. 2016-11-14 15:39:38 +00:00
lldb I am leaving Apple in a few weeks; switch over to my personal email address 2016-11-13 21:30:54 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm Use _Unwind_Backtrace on Apple platforms. 2016-11-14 17:56:18 +00:00
openmp Added check for malloc return. 2016-11-10 09:08:03 +00:00
parallel-libs [Acxxel] Remove setActiveDeviceForThread 2016-10-28 00:54:02 +00:00
polly [ScopBuilder] Drop unnecessary namespace identifiers [NFC] 2016-11-13 21:28:13 +00:00