diff options
author | 2018-06-02 05:37:39 +0000 | |
---|---|---|
committer | 2018-06-02 15:45:36 +0000 | |
commit | cc7e20f9ec7b4a7a57f7196e5e8be67a727f21d3 (patch) | |
tree | 3aebc9078ad94f132f7a5df0813a97bbdd4c4ed9 /runtime/verifier/method_verifier.h | |
parent | 2649ecf6c59a29262556aa356fbf894d49df8fe7 (diff) |
Revert "Move runtime/ to ClassAccessor"
Seems to cause 'atest CtsInlineMockingTestCases' and other tests
to fail due to sending agents dex files with hiddenapi flags still
present.
This reverts commit 2649ecf6c59a29262556aa356fbf894d49df8fe7.
Reason for revert: Seems to be causing sysui test failures, maybe
Bug: 77709234
Bug: 79758018
Bug: 91962648
Test: Tree-Hugger
Change-Id: I2cab5d0d58808dd8beb38400d2811307f26e1021
Diffstat (limited to 'runtime/verifier/method_verifier.h')
-rw-r--r-- | runtime/verifier/method_verifier.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/verifier/method_verifier.h b/runtime/verifier/method_verifier.h index c7368d7b39..b2adc62a97 100644 --- a/runtime/verifier/method_verifier.h +++ b/runtime/verifier/method_verifier.h @@ -275,6 +275,23 @@ class MethodVerifier { void Merge(const FailureData& src); }; + // Verify all direct or virtual methods of a class. The method assumes that the iterator is + // positioned correctly, and the iterator will be updated. + template <bool kDirect> + static FailureData VerifyMethods(Thread* self, + ClassLinker* linker, + const DexFile* dex_file, + const DexFile::ClassDef& class_def, + ClassDataItemIterator* it, + Handle<mirror::DexCache> dex_cache, + Handle<mirror::ClassLoader> class_loader, + CompilerCallbacks* callbacks, + bool allow_soft_failures, + HardFailLogMode log_level, + bool need_precise_constants, + std::string* error_string) + REQUIRES_SHARED(Locks::mutator_lock_); + /* * Perform verification on a single method. * |