summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/gcc_personality_v0.c
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-10-08 17:28:37 +0000
committerTim Northover <tnorthover@apple.com>2014-10-08 17:28:37 +0000
commita5a06ad6fcc5a730febe51d2c15f608a3173c0d6 (patch)
tree14d8673901cac61a3d2acccecc63c547dcc82b69 /compiler-rt/lib/builtins/gcc_personality_v0.c
parent42924431012107c78d77af227020757b371c4e2f (diff)
downloadbcm5719-llvm-a5a06ad6fcc5a730febe51d2c15f608a3173c0d6.tar.gz
bcm5719-llvm-a5a06ad6fcc5a730febe51d2c15f608a3173c0d6.zip
AArch64: add support for ARM64 iOS versions of compiler-rt.
Just a dummy directory and a few sane choices in the Darwin SDK. rdar://problem/18575597 llvm-svn: 219323
Diffstat (limited to 'compiler-rt/lib/builtins/gcc_personality_v0.c')
-rw-r--r--compiler-rt/lib/builtins/gcc_personality_v0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/gcc_personality_v0.c b/compiler-rt/lib/builtins/gcc_personality_v0.c
index 91a77f44414..869f4178e85 100644
--- a/compiler-rt/lib/builtins/gcc_personality_v0.c
+++ b/compiler-rt/lib/builtins/gcc_personality_v0.c
@@ -180,7 +180,7 @@ static uintptr_t readEncodedPointer(const uint8_t** data, uint8_t encoding)
* on each frame as the stack is unwound during a C++ exception
* throw through a C function compiled with -fexceptions.
*/
-#if __arm__
+#if __USING_SJLJ_EXCEPTIONS__
// the setjump-longjump based exceptions personality routine has a different name
COMPILER_RT_ABI _Unwind_Reason_Code
__gcc_personality_sj0(int version, _Unwind_Action actions,
OpenPOWER on IntegriCloud