diff options
| -rw-r--r-- | runtime/runtime.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index 46b4392ef42..eb6826d15bb 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -494,6 +494,10 @@ void Runtime::Abort(const char* msg) { UNUSED(old_value); #endif +#ifdef ART_TARGET_ANDROID + android_set_abort_message(msg); +#endif + // Ensure that we don't have multiple threads trying to abort at once, // which would result in significantly worse diagnostics. MutexLock mu(Thread::Current(), *Locks::abort_lock_); |
