mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 08:45:46 +00:00
08e54b7c13
MozStackWalk() is different on Windows to the other platforms. It has two extra arguments, which can be used to walk the stack of a different thread. This patch makes those differences clearer. Instead of having a single function and forbidding those two arguments on non-Windows, it removes those arguments from MozStackWalk, and splits off MozStackWalkThread() which retains them. This also allows those arguments to have more appropriate types (HANDLE instead of uintptr_t; CONTEXT* instead of than void*) and names (aContext instead of aPlatformData). The patch also removes unnecessary reinterpret_casts for the aClosure argument at a couple of MozStackWalk() callsites. --HG-- extra : rebase_source : 111ab7d6426d7be921facc2264f6db86c501d127 |
||
---|---|---|
.. | ||
AutoProfilerLabel.cpp | ||
AutoProfilerLabel.h | ||
ConditionVariable_posix.cpp | ||
ConditionVariable_windows.cpp | ||
moz.build | ||
Mutex_posix.cpp | ||
Mutex_windows.cpp | ||
MutexPlatformData_posix.h | ||
MutexPlatformData_windows.h | ||
PlatformConditionVariable.h | ||
PlatformMutex.h | ||
Printf.cpp | ||
Printf.h | ||
StackWalk_windows.h | ||
StackWalk.cpp | ||
StackWalk.h | ||
TimeStamp_darwin.cpp | ||
TimeStamp_posix.cpp | ||
TimeStamp_windows.cpp | ||
TimeStamp_windows.h | ||
TimeStamp.cpp | ||
TimeStamp.h |