diff options
author | 2018-02-27 18:49:26 -0800 | |
---|---|---|
committer | 2018-02-27 18:55:28 -0800 | |
commit | 56c9b7c8b1c2b3aa848229e207caa8c6613692c0 (patch) | |
tree | 19d7c6fa56bc49df50a31b3631ef7dd9563129e3 /compiler/driver/compiler_driver.cc | |
parent | 8dcb3527d416fb63f936a8fbeb7b59abfc2ac446 (diff) |
ART: Change abort() to _exit()
Change kill behavior to _exit. Even a single stack trace is too much
for some folks.
Bug: 73749543
Test: mmma art
Change-Id: I4aef95a56056df45fb66d1e04e66fb465eb1700e
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r-- | compiler/driver/compiler_driver.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index a6681ec1ef..8ef01eef35 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -936,13 +936,13 @@ void CompilerDriver::PreCompile(jobject class_loader, // instances of this thread's stack. LOG(FATAL_WITHOUT_ABORT) << "Had a hard failure verifying all classes, and was asked to abort " << "in such situations. Please check the log."; - abort(); + _exit(1); } else if (number_of_soft_verifier_failures_ > 0 && GetCompilerOptions().AbortOnSoftVerifierFailure()) { LOG(FATAL_WITHOUT_ABORT) << "Had " << number_of_soft_verifier_failures_ << " soft failure(s) " << "verifying all classes, and was asked to abort in such situations. " << "Please check the log."; - abort(); + _exit(1); } if (compiler_options_->IsAnyCompilationEnabled()) { |