diff options
author | Nick Kledzik <kledzik@apple.com> | 2013-10-08 21:57:22 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2013-10-08 21:57:22 +0000 |
commit | 952df57e2c437ad013511e445a2b8bffa77bf9ca (patch) | |
tree | 9264dd5edc436ac082c62fab802ae9be837d5b39 | |
parent | 17814d74f7dcaea1ad817129e020724f002ddbd2 (diff) | |
download | libcxxabi_35a-952df57e2c437ad013511e445a2b8bffa77bf9ca.tar.gz |
Fix conditionals on __Unwind_SjLj_* functions to only build for SJLJ based architectures
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@192241 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/Unwind/Unwind_AppleExtras.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Unwind/Unwind_AppleExtras.cpp b/src/Unwind/Unwind_AppleExtras.cpp index ef09e4f..6d02a66 100644 --- a/src/Unwind/Unwind_AppleExtras.cpp +++ b/src/Unwind/Unwind_AppleExtras.cpp @@ -183,10 +183,11 @@ bool checkKeyMgrRegisteredFDEs(uintptr_t pc, void *&fde) { } -#if !FOR_DYLD +#if !FOR_DYLD && _LIBUNWIND_BUILD_SJLJ_APIS #include <System/pthread_machdep.h> +// Accessors to get get/set linked list of frames for sjlj based execeptions. _LIBUNWIND_HIDDEN struct _Unwind_FunctionContext *__Unwind_SjLj_GetTopOfFunctionStack() { return (struct _Unwind_FunctionContext *) |