summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2017-01-06 02:26:33 +0000
committerBob Wilson <bob.wilson@apple.com>2017-01-06 02:26:33 +0000
commit37df90a474a59fd1a9d94147fdd5e618774f72d9 (patch)
treed3ff3f4822cf51760590c29624e6645bd1efc7e8 /llvm/lib/Support/Unix
parentd39ead41056b00d10b6223543562cd304307ac9b (diff)
downloadbcm5719-llvm-37df90a474a59fd1a9d94147fdd5e618774f72d9.tar.gz
bcm5719-llvm-37df90a474a59fd1a9d94147fdd5e618774f72d9.zip
Revert "Use _Unwind_Backtrace on Apple platforms."
This reverts commit 63165f6ae3bac1623be36d4b3ce63afa1d51a30a. After making this change, I discovered that _Unwind_Backtrace is unable to unwind past a signal handler after an assertion failure. I filed a bug report about that issue in rdar://29866587 but even if we get a fix soon, it will be awhile before it get released. llvm-svn: 291207
Diffstat (limited to 'llvm/lib/Support/Unix')
-rw-r--r--llvm/lib/Support/Unix/Signals.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc
index 3750d7f4c09..9752b70644c 100644
--- a/llvm/lib/Support/Unix/Signals.inc
+++ b/llvm/lib/Support/Unix/Signals.inc
@@ -48,7 +48,7 @@
// _Unwind_Backtrace function, but on FreeBSD the configure test passes
// despite the function not existing, and on Android, <unwind.h> conflicts
// with <link.h>.
-#if defined(__GLIBC__) || defined(__APPLE__)
+#ifdef __GLIBC__
#include <unwind.h>
#else
#undef HAVE__UNWIND_BACKTRACE
OpenPOWER on IntegriCloud