mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 731272 - Add the current instruction to the top of the stack. r=jrmuizel
This commit is contained in:
parent
f6f0ce905e
commit
5a9842b561
@ -523,6 +523,10 @@ void TableTicker::doBacktrace(ThreadProfile &aProfile, TickSample* aSample)
|
||||
mozilla::ArrayLength(pc_array),
|
||||
0
|
||||
};
|
||||
|
||||
// Start with the current function.
|
||||
StackWalkCallback(aSample->pc, &array);
|
||||
|
||||
#ifdef XP_MACOSX
|
||||
pthread_t pt = GetProfiledThread(platform_data());
|
||||
void *stackEnd = reinterpret_cast<void*>(-1);
|
||||
|
Loading…
Reference in New Issue
Block a user