Skip to content
Snippets Groups Projects
Commit e6b872fb authored by Chris Peterson's avatar Chris Peterson
Browse files

Bug 1736968 - Pass mozalloc_abort() crash reason to MOZ_CRASH() to distinguish...

Bug 1736968 - Pass mozalloc_abort() crash reason to MOZ_CRASH() to distinguish mozalloc_abort() and bare MOZ_CRASH() crashes. r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D129114
parent 0713dc0d
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,12 @@ void mozalloc_abort(const char* const msg) {
#else
__android_log_print(ANDROID_LOG_ERROR, "Gecko", "mozalloc_abort: %s", msg);
#endif
#ifdef MOZ_WIDGET_ANDROID
abortThroughJava(msg);
#endif
MOZ_CRASH();
MOZ_CRASH_UNSAFE(msg);
}
#ifdef MOZ_WIDGET_ANDROID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment