forked from OSchip/llvm-project
Fix conditionals on __Unwind_SjLj_* functions to only build for SJLJ based architectures
llvm-svn: 192241
This commit is contained in:
parent
9112ac2136
commit
f6330ddc0d
|
@ -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 *)
|
||||
|
|
Loading…
Reference in New Issue