diff options
| author | 2017-10-20 15:38:14 +0000 | |
|---|---|---|
| committer | 2017-10-20 15:38:14 +0000 | |
| commit | 2f707787e60d74a187c570d6b47a5a14036e09ba (patch) | |
| tree | 7e50caf2df0ce6556585a21c044572f4d2f7ed61 /compiler/driver/compiler_options.h | |
| parent | 71ae03b7a56ddb9c45e3a7edd690fe919af9f17a (diff) | |
| parent | f39208f6787928151153795a3cdae28cba964df6 (diff) | |
Merge "ART: Add abort-on-soft-verifier-error"
Diffstat (limited to 'compiler/driver/compiler_options.h')
| -rw-r--r-- | compiler/driver/compiler_options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 311dbd569e..12de9be60b 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -226,6 +226,9 @@ class CompilerOptions FINAL { bool AbortOnHardVerifierFailure() const { return abort_on_hard_verifier_failure_; } + bool AbortOnSoftVerifierFailure() const { + return abort_on_soft_verifier_failure_; + } const std::vector<const DexFile*>* GetNoInlineFromDexFile() const { return no_inline_from_; @@ -303,6 +306,8 @@ class CompilerOptions FINAL { // Abort compilation with an error if we find a class that fails verification with a hard // failure. bool abort_on_hard_verifier_failure_; + // Same for soft failures. + bool abort_on_soft_verifier_failure_; // Log initialization of initialization failures to this stream if not null. std::unique_ptr<std::ostream> init_failure_output_; |