mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-04-29 20:04:32 +00:00
Added instruction pointer for 32 bit OS X
This commit is contained in:
parent
c25d2e0f8e
commit
91c92d94b6
@ -2226,6 +2226,8 @@ public:
|
||||
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext.psw.addr);
|
||||
#elif defined(__APPLE__) && defined(__x86_64__)
|
||||
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext->__ss.__rip);
|
||||
#elif defined(__APPLE__)
|
||||
error_addr = reinterpret_cast<void*>(uctx->uc_mcontext->__ss.__eip);
|
||||
#else
|
||||
# warning ":/ sorry, ain't know no nothing none not of your architecture!"
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user