Merge "Fix __android_log_assert to abort."

This commit is contained in:
Elliott Hughes 2015-03-09 15:14:52 +00:00 committed by Gerrit Code Review
commit 0ffaa2b75a
2 changed files with 2 additions and 2 deletions

View file

@ -491,7 +491,7 @@ void __android_log_assert(const char *cond, const char *tag,
}
__android_log_write(ANDROID_LOG_FATAL, tag, buf);
__builtin_trap(); /* trap so we have a chance to debug the situation */
abort(); /* abort so we have a chance to debug the situation */
/* NOTREACHED */
}

View file

@ -266,7 +266,7 @@ void __android_log_assert(const char *cond, const char *tag,
}
__android_log_write(ANDROID_LOG_FATAL, tag, buf);
__builtin_trap(); /* trap so we have a chance to debug the situation */
abort(); /* abort so we have a chance to debug the situation */
/* NOTREACHED */
}