mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1558111 - Initialize record/replay state first in XRE_InitChildProcess, r=ehsan.
Differential Revision: https://phabricator.services.mozilla.com/D34361 --HG-- extra : rebase_source : 6a2472d01e9073047a18b4e2200364ca19833d5f
This commit is contained in:
parent
5346f3347e
commit
8359c6b639
@ -331,10 +331,11 @@ nsresult XRE_InitChildProcess(int aArgc, char* aArgv[],
|
||||
NS_ENSURE_ARG_POINTER(aArgv);
|
||||
NS_ENSURE_ARG_POINTER(aArgv[0]);
|
||||
MOZ_ASSERT(aChildData);
|
||||
NS_SetCurrentThreadName("MainThread");
|
||||
|
||||
recordreplay::Initialize(aArgc, aArgv);
|
||||
|
||||
NS_SetCurrentThreadName("MainThread");
|
||||
|
||||
#ifdef MOZ_ASAN_REPORTER
|
||||
// In ASan reporter builds, we need to set ASan's log_path as early as
|
||||
// possible, so it dumps its errors into files there instead of using
|
||||
|
Loading…
Reference in New Issue
Block a user