Home
last modified time | relevance | path

Searched refs:numframes (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/
H A Druntime.d603 auto numframes = backtrace( callstack.ptr, MAXFRAMES ); in runModuleUnitTests() local
604 backtrace_symbols_fd( callstack.ptr, numframes, 2 ); in runModuleUnitTests()
801 numframes = cast(int) backtrace(this.callstack.ptr, MAXFRAMES); in this()
803 if (numframes >= 2) in this()
827 for ( numframes = 0; stackTop <= stackPtr && in this()
829 numframes < MAXFRAMES; ) in this()
831 callstack[numframes++] = *(stackPtr + 1) - CALL_INSTRUCTION_SIZE; in this()
855 const framelist = backtrace_symbols( callstack.ptr, numframes ); in opApply()
861 return traceHandlerOpApplyImpl(numframes, in opApply()
869 for (size_t pos = 0; pos < numframes; ++pos) in opApply()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/
H A Dbacktrace.d437 int numframes = 0;
449 if (bt.numframes >= MAXFRAMES)
452 bt.callstack[bt.numframes] = cast(void*)_Unwind_GetIP(ctx);
453 bt.numframes++;
468 for (auto i = 0; i < data.numframes; i++)
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/gcc/
H A Dbacktrace.d419 int numframes = 0;
431 if (bt.numframes >= MAXFRAMES)
434 bt.callstack[bt.numframes] = cast(void*)_Unwind_GetIP(ctx);
435 bt.numframes++;
450 for (auto i = 0; i < data.numframes; i++)