diff --git a/backward.hpp b/backward.hpp index f9f2f33..3ae342f 100644 --- a/backward.hpp +++ b/backward.hpp @@ -2226,6 +2226,8 @@ public: error_addr = reinterpret_cast(uctx->uc_mcontext.psw.addr); #elif defined(__APPLE__) && defined(__x86_64__) error_addr = reinterpret_cast(uctx->uc_mcontext->__ss.__rip); +#elif defined(__APPLE__) + error_addr = reinterpret_cast(uctx->uc_mcontext->__ss.__eip); #else # warning ":/ sorry, ain't know no nothing none not of your architecture!" #endif