Add _Unwind_GetIPInfo for libstdc++.
This commit is contained in:
parent
b05100a488
commit
d952896fa0
@ -275,6 +275,12 @@ uintptr_t _Unwind_GetIP(struct _Unwind_Context *context) {
|
||||
return cursor->getIP();
|
||||
}
|
||||
|
||||
uintptr_t _Unwind_GetIPInfo(struct _Unwind_Context *context, int *isSignalFrame) {
|
||||
ThisUnwindCursor *cursor = (ThisUnwindCursor *)context;
|
||||
*isSignalFrame = cursor->isSignalFrame() ? 1 : 0;
|
||||
return cursor->getIP();
|
||||
}
|
||||
|
||||
void _Unwind_SetIP(struct _Unwind_Context *context, uintptr_t new_value) {
|
||||
ThisUnwindCursor *cursor = (ThisUnwindCursor *)context;
|
||||
cursor->setIP(new_value);
|
||||
|
@ -67,6 +67,7 @@ void _Unwind_DeleteException(struct _Unwind_Exception *);
|
||||
uintptr_t _Unwind_GetGR(struct _Unwind_Context *, int);
|
||||
void _Unwind_SetGR(struct _Unwind_Context *, int, uintptr_t);
|
||||
uintptr_t _Unwind_GetIP(struct _Unwind_Context *);
|
||||
uintptr_t _Unwind_GetIPInfo(struct _Unwind_Context *, int *);
|
||||
uintptr_t _Unwind_GetCFA(struct _Unwind_Context *);
|
||||
void _Unwind_SetIP(struct _Unwind_Context *, uintptr_t);
|
||||
uintptr_t _Unwind_GetRegionStart(struct _Unwind_Context *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user