summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-10-19 15:06:59 -0700
committerAndreas Gampe <agampe@google.com>2017-10-19 18:01:03 -0700
commitf39208f6787928151153795a3cdae28cba964df6 (patch)
tree59ea0bc7ddf2b20ecf501e3ddca7d71ebb9df851 /compiler/driver/compiler_options.cc
parent5ef8128014b1796ae56dba3031f64ce6bfef4496 (diff)
ART: Add abort-on-soft-verifier-error
Add an option to abort compilation if any class fails compile-time verification. Bug: 65318848 Bug: 67358823 Test: m test-art-host-gtest-dex2oat_test Change-Id: I5d2a7cd1d2ed048ab39d6f787ecc9eb2f41d3d77
Diffstat (limited to 'compiler/driver/compiler_options.cc')
-rw-r--r--compiler/driver/compiler_options.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc
index b6cedff28a..f789314114 100644
--- a/compiler/driver/compiler_options.cc
+++ b/compiler/driver/compiler_options.cc
@@ -51,6 +51,7 @@ CompilerOptions::CompilerOptions()
compile_pic_(false),
verbose_methods_(),
abort_on_hard_verifier_failure_(false),
+ abort_on_soft_verifier_failure_(false),
init_failure_output_(nullptr),
dump_cfg_file_name_(""),
dump_cfg_append_(false),