
Go to the source code of this file.
Functions | |
| void | CmiBacktraceRecord (void **retPtrs, int nSkip, int *nLevels) |
| Extract the function-return pointers listed in the stack up to this depth. | |
| void | CmiBacktraceRecordHuge (void **retPtrs, int *nLevels) |
| char ** | CmiBacktraceLookup (void **srcPtrs, int nLevels) |
| Look up the names of these function pointers. | |
| void | CmiBacktraceRecordHuge (void **retPtrs, int nSkip, int *nLevels) |
Extract the function-return pointers listed in the stack up to this depth.
nSkip is the number of enclosing functions to skip-- for example, nSkip==0 means the retPtrs[0] will be the caller of CmiBacktraceRecord. Returns retPtrs[0..*nLevels-1] stack pointers. nLevels may be decreased if not enough levels are available.
Definition at line 24 of file cmibacktrace.c.
Referenced by CmiIsFortranLibraryCall(), CmiPrintStackTrace(), CpdNotify(), and setSlot().
| void CmiBacktraceRecordHuge | ( | void ** | retPtrs, | |
| int * | nLevels | |||
| ) |
| char ** CmiBacktraceLookup | ( | void ** | srcPtrs, | |
| int | nLevels | |||
| ) |
Look up the names of these function pointers.
Caller must free() the returned array, but not the individual strings.
Definition at line 40 of file cmibacktrace.c.
Referenced by CmiBacktracePrint(), and CmiIsFortranLibraryCall().
Definition at line 49 of file cmibacktrace.c.
1.5.5