diff options
author | David Sehr <sehr@google.com> | 2020-03-27 14:58:54 +0000 |
---|---|---|
committer | David Sehr <sehr@google.com> | 2020-03-27 19:23:23 +0000 |
commit | fe57c2b63df652fe4eefd750e3566309bfe038fb (patch) | |
tree | 839ff604e8baae86458642803bc2738d0ab7b5e3 /compiler/driver/compiler_options.h | |
parent | a467a6e81f5c6da589a5fb16fdb85f2604860623 (diff) |
Revert^4 "Add "linkage" test options""
This reverts commit 16c08ca97486f535698f1a1b17f0332bfe78e95a.
Reason for revert: Disabled on device testing
Change-Id: I8d5442e0ebb6383ebfbce98f1857b5e844e0d5e1
Bug: none
Test: make test-art-host-gtest-dex2oat_test
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 79ba1c27c9..639c5475e8 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -311,6 +311,14 @@ class CompilerOptions final { return force_determinism_; } + bool IsCheckLinkageConditions() const { + return check_linkage_conditions_; + } + + bool IsCrashOnLinkageViolation() const { + return crash_on_linkage_violation_; + } + bool DeduplicateCode() const { return deduplicate_code_; } @@ -431,6 +439,13 @@ class CompilerOptions final { // outcomes. bool force_determinism_; + // Whether the compiler should check for violation of the conditions required to perform AOT + // "linkage". + bool check_linkage_conditions_; + // Whether the compiler should crash when encountering a violation of one of + // the conditions required to perform AOT "linkage". + bool crash_on_linkage_violation_; + // Whether code should be deduplicated. bool deduplicate_code_; |