diff options
author | 2016-03-25 16:58:00 -0700 | |
---|---|---|
committer | 2016-03-28 16:57:30 -0700 | |
commit | 7fe30233d32a872f5349e921dba65bd767ad994b (patch) | |
tree | 6039f608c5753d549a30a07f4997cb8141eba970 /runtime/class_linker.cc | |
parent | bf9611f821697b14bf9e170f503c3f47613b046b (diff) |
ART: Make verifier fail log level adjustable
To help for build failures.
Change-Id: I6c94dfb50177daa7d89902d78715ccec31bf0e45
Diffstat (limited to 'runtime/class_linker.cc')
-rw-r--r-- | runtime/class_linker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 99e38d9fcf..f2c2f03003 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -3750,7 +3750,7 @@ bool ClassLinker::AttemptSupertypeVerification(Thread* self, return false; } -void ClassLinker::VerifyClass(Thread* self, Handle<mirror::Class> klass) { +void ClassLinker::VerifyClass(Thread* self, Handle<mirror::Class> klass, LogSeverity log_level) { // TODO: assert that the monitor on the Class is held ObjectLock<mirror::Class> lock(self, klass); @@ -3853,7 +3853,7 @@ void ClassLinker::VerifyClass(Thread* self, Handle<mirror::Class> klass) { klass.Get(), runtime->GetCompilerCallbacks(), runtime->IsAotCompiler(), - runtime->IsAotCompiler(), + log_level, &error_msg); } if (preverified || verifier_failure != verifier::MethodVerifier::kHardFailure) { |