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:
David Major 2019-04-05 19:25:55 +00:00
parent 306f4c39ad
commit bd688314c9

View File

@ -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);