summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-02-28 15:59:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-02-28 15:59:45 +0000
commit2981c2971fdf6f8a8e8394faf1d473b22529f090 (patch)
tree6e7e19eb06f121f6ae07d3b32552864ffa82f47b /compiler/driver/compiler_driver.cc
parent74c342fb62c3cd143775c6031001b5f9d3283465 (diff)
parent56c9b7c8b1c2b3aa848229e207caa8c6613692c0 (diff)
Merge "ART: Change abort() to _exit()"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 8a604db59e..bd3a145368 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()) {