diff options
Diffstat (limited to 'src/lj_err.c')
-rw-r--r-- | src/lj_err.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_err.c b/src/lj_err.c index 11f0922f..61178805 100644 --- a/src/lj_err.c +++ b/src/lj_err.c | |||
@@ -531,7 +531,7 @@ static void *err_unwind(lua_State *L, void *stopcf, int errcode) | |||
531 | 531 | ||
532 | /* -- External frame unwinding -------------------------------------------- */ | 532 | /* -- External frame unwinding -------------------------------------------- */ |
533 | 533 | ||
534 | #if defined(__GNUC__) | 534 | #if defined(__GNUC__) && !defined(__symbian__) |
535 | 535 | ||
536 | #ifdef __clang__ | 536 | #ifdef __clang__ |
537 | /* http://llvm.org/bugs/show_bug.cgi?id=8703 */ | 537 | /* http://llvm.org/bugs/show_bug.cgi?id=8703 */ |
@@ -540,13 +540,13 @@ static void *err_unwind(lua_State *L, void *stopcf, int errcode) | |||
540 | 540 | ||
541 | #include <unwind.h> | 541 | #include <unwind.h> |
542 | 542 | ||
543 | #if !LJ_TARGET_ARM | ||
544 | |||
543 | #define LJ_UEXCLASS 0x4c55414a49543200ULL /* LUAJIT2\0 */ | 545 | #define LJ_UEXCLASS 0x4c55414a49543200ULL /* LUAJIT2\0 */ |
544 | #define LJ_UEXCLASS_MAKE(c) (LJ_UEXCLASS | (_Unwind_Exception_Class)(c)) | 546 | #define LJ_UEXCLASS_MAKE(c) (LJ_UEXCLASS | (_Unwind_Exception_Class)(c)) |
545 | #define LJ_UEXCLASS_CHECK(cl) (((cl) ^ LJ_UEXCLASS) <= 0xff) | 547 | #define LJ_UEXCLASS_CHECK(cl) (((cl) ^ LJ_UEXCLASS) <= 0xff) |
546 | #define LJ_UEXCLASS_ERRCODE(cl) ((int)((cl) & 0xff)) | 548 | #define LJ_UEXCLASS_ERRCODE(cl) ((int)((cl) & 0xff)) |
547 | 549 | ||
548 | #if !LJ_TARGET_ARM | ||
549 | |||
550 | /* DWARF2 personality handler referenced from interpreter .eh_frame. */ | 550 | /* DWARF2 personality handler referenced from interpreter .eh_frame. */ |
551 | LJ_FUNCA int lj_err_unwind_dwarf(int version, _Unwind_Action actions, | 551 | LJ_FUNCA int lj_err_unwind_dwarf(int version, _Unwind_Action actions, |
552 | _Unwind_Exception_Class uexclass, struct _Unwind_Exception *uex, | 552 | _Unwind_Exception_Class uexclass, struct _Unwind_Exception *uex, |