gecko-dev/mozglue/misc
Nicholas Nethercote 08e54b7c13 Bug 1384819 (part 1) - Split MozStackWalk(). r=glandium.
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
2017-07-27 12:46:47 +10:00
..
AutoProfilerLabel.cpp Bug 1370329 (part 2) - Add support for profiler labels in mozglue. r=mstange,glandium. 2017-06-07 12:36:26 +10:00
AutoProfilerLabel.h Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange. 2017-06-22 06:26:16 +10:00
ConditionVariable_posix.cpp Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
ConditionVariable_windows.cpp Bug 1371435 - Backed out changeset 5b6d169feb92. r=froydnj 2017-06-28 13:56:57 -07:00
moz.build Bug 1375299 (part 1) - Reduce usage of MOZ_GECKO_PROFILER. r=mstange. 2017-06-22 06:26:16 +10:00
Mutex_posix.cpp Backout e824f50f5ca6 (bug 1353787) for massive OS X test bustage on a CLOSED TREE 2017-04-07 16:35:45 -04:00
Mutex_windows.cpp Bug 1371435 - Backed out changeset 5b6d169feb92. r=froydnj 2017-06-28 13:56:57 -07:00
MutexPlatformData_posix.h Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
MutexPlatformData_windows.h Bug 1371435 - Backed out changeset 5b6d169feb92. r=froydnj 2017-06-28 13:56:57 -07:00
PlatformConditionVariable.h Bug 1312086 - part 3 - move js::{Mutex,ConditionVariable}Impl to mozglue; r=fitzgen,glandium 2017-02-08 20:52:55 -05:00
PlatformMutex.h Bug 1336344 - use sizeof(pthread_mutex_t) to size MutexImpl's platformData_; r=fitzgen 2017-02-22 16:41:35 -05:00
Printf.cpp Bug 1334276 - add Printf unit tests; r=froydnj 2017-05-08 13:49:48 -06:00
Printf.h Bug 1384233 - Update documentation for the %I format specifier in Printf.h. r=froydnj 2017-07-26 16:22:58 -04:00
StackWalk_windows.h Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj 2017-05-03 12:10:48 -04:00
StackWalk.cpp Bug 1384819 (part 1) - Split MozStackWalk(). r=glandium. 2017-07-27 12:46:47 +10:00
StackWalk.h Bug 1384819 (part 1) - Split MozStackWalk(). r=glandium. 2017-07-27 12:46:47 +10:00
TimeStamp_darwin.cpp
TimeStamp_posix.cpp Bug 1381253 - Remove redundant control flow declarations rs=ehsan 2017-07-15 19:03:04 +02:00
TimeStamp_windows.cpp Bug 1377607 Cast int to unsigned to silence an error about signed vs unsigned comparisons r=froydnj 2017-06-30 19:32:33 -05:00
TimeStamp_windows.h Bug 1322465 part 9 - Use explicit/MOZ_IMPLICIT for the unary constructors in mozglue/. r=Ehsan 2016-12-16 15:57:53 +08:00
TimeStamp.cpp Bug 1358320 - Make TimeStamp::ProcessCreation()'s outparam optional. r=gsvelto. 2017-04-26 14:55:54 +10:00
TimeStamp.h Bug 1382099 - Remove MOZ_WIDGET_GONK from mozglue/. r=glandium. 2017-07-19 18:38:54 +10:00