зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1465452 Part 6 - Don't record assertion crashing flag, r=froydnj.
--HG-- extra : rebase_source : 994a8c6c16e20b81e2e112ef15fc08190678c440
This commit is contained in:
Родитель
29bb91306b
Коммит
413abd40b5
|
@ -34,7 +34,12 @@ MOZ_CrashOOL(const char* aFilename, int aLine, const char* aReason)
|
|||
}
|
||||
|
||||
static char sPrintfCrashReason[sPrintfCrashReasonSize] = {};
|
||||
static mozilla::Atomic<bool> sCrashing(false);
|
||||
|
||||
// Accesses to this atomic are not included in web replay recordings, so that
|
||||
// if we crash in an area where recorded events are not allowed the true reason
|
||||
// for the crash is not obscured by a record/replay error.
|
||||
static mozilla::Atomic<bool, mozilla::SequentiallyConsistent,
|
||||
mozilla::recordreplay::Behavior::DontPreserve> sCrashing(false);
|
||||
|
||||
#ifndef DEBUG
|
||||
MFBT_API MOZ_COLD MOZ_NORETURN MOZ_NEVER_INLINE MOZ_FORMAT_PRINTF(2, 3) void
|
||||
|
|
Загрузка…
Ссылка в новой задаче