mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
return address tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32471 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0424273b26
commit
5f29c70734
3 changed files with 5 additions and 1 deletions
|
@ -836,7 +836,8 @@ GSDebugAllocationListRecordedObjects(Class c)
|
|||
#define _NS_FRAME_HACK(a) \
|
||||
case a: env->addr = __builtin_frame_address(a + 1); break;
|
||||
#define _NS_RETURN_HACK(a) \
|
||||
case a: env->addr = __builtin_return_address(a + 1); break;
|
||||
case a: env->addr = (_NS_FRAME_HACK(a) ? __builtin_extract_return_address \
|
||||
(__builtin_return_address(a + 1)) : 0); break;
|
||||
|
||||
/*
|
||||
* The following horrible signal handling code is a workaround for the fact
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue