mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
Bug 1536675 - Inline MOZ_Crash even in debug builds r=froydnj
We want MOZ_Crash frames to stay out of Taskcluster logs even on debug builds. Perhaps you could say, _especially_ on debug builds. Differential Revision: https://phabricator.services.mozilla.com/D26352 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
306f4c39ad
commit
bd688314c9
@ -304,7 +304,7 @@ MOZ_NoReturn(int aLine) {
|
||||
* to crash-stats and are publicly visible. Firefox data stewards must do data
|
||||
* review on usages of this macro.
|
||||
*/
|
||||
static MOZ_ALWAYS_INLINE MOZ_COLD MOZ_NORETURN void MOZ_Crash(
|
||||
static MOZ_ALWAYS_INLINE_EVEN_DEBUG MOZ_COLD MOZ_NORETURN void MOZ_Crash(
|
||||
const char* aFilename, int aLine, const char* aReason) {
|
||||
#ifdef DEBUG
|
||||
MOZ_ReportCrash(aReason, aFilename, aLine);
|
||||
|
Loading…
Reference in New Issue
Block a user