mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Rewrote exception callstack generation to use the backtrace() and
backtrace_symbols() code. Implemented the -callStackSymbols method from 10.5 using this. For this to be enabled, the configure script will require a small modification, which Gregory will add later. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28662 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
47eab60ed8
commit
95c9e08026
3 changed files with 108 additions and 607 deletions
|
@ -123,6 +123,13 @@ extern "C" {
|
|||
* this value.
|
||||
*/
|
||||
- (NSArray*) callStackReturnAddresses;
|
||||
/**
|
||||
* Returns an array of the symbolic names of the call stack return addresses.
|
||||
* Note that, on some platforms, symbols are only exported in
|
||||
* position-independent code and so these may only return numeric addresses for
|
||||
* code in static libraries or the main application.
|
||||
*/
|
||||
- (NSArray *)callStackSymbols;
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue