Lines Matching refs:StackTrace
281 void **StackTrace;
302 intptr_t addr = (intptr_t)data->StackTrace[j];
312 static bool findModulesAndOffsets(void **StackTrace, int Depth,
315 DlIteratePhdrData data = {StackTrace, Depth, true,
321 static bool findModulesAndOffsets(void **StackTrace, int Depth,
328 static bool printSymbolizedStackTrace(void **StackTrace, int Depth,
330 // FIXME: Subtract necessary number from StackTrace entries to turn return addresses
347 if (!findModulesAndOffsets(StackTrace, Depth, Modules.data(), Offsets.data(),
387 OS << format("#%d %p\n", frame_no++, StackTrace[i]);
398 OS << format("#%d %p ", frame_no++, StackTrace[i]);
422 static void* StackTrace[256];
424 int depth = backtrace(StackTrace,
425 static_cast<int>(array_lengthof(StackTrace)));
426 if (printSymbolizedStackTrace(StackTrace, depth, OS))
432 dladdr(StackTrace[i], &dlinfo);
444 dladdr(StackTrace[i], &dlinfo);
453 (unsigned long)StackTrace[i]);
470 OS << format(" + %u",(unsigned)((char*)StackTrace[i]-
476 backtrace_symbols_fd(StackTrace, depth, STDERR_FILENO);