Home
last modified time | relevance | path

Searched refs:FailureKind (Results 1 – 17 of 17) sorted by relevance

/art/runtime/verifier/
Dclass_verifier.cc67 FailureKind ClassVerifier::ReverifyClass(Thread* self, in ReverifyClass()
115 FailureKind res = CommonVerifyClass(self, in ReverifyClass()
123 DCHECK_NE(res, FailureKind::kHardFailure); in ReverifyClass()
126 dvc.UpdateFlags(res == FailureKind::kNoFailure); in ReverifyClass()
130 FailureKind ClassVerifier::VerifyClass(Thread* self, in VerifyClass()
138 return FailureKind::kNoFailure; in VerifyClass()
151 FailureKind ClassVerifier::CommonVerifyClass(Thread* self, in CommonVerifyClass()
181 return FailureKind::kHardFailure; in CommonVerifyClass()
200 FailureKind ClassVerifier::VerifyClass(Thread* self, in VerifyClass()
224 FailureKind ClassVerifier::VerifyClass(Thread* self, in VerifyClass()
[all …]
Dmethod_verifier_test.cc45 FailureKind failure = ClassVerifier::VerifyClass( in VerifyClass()
49 ASSERT_TRUE(failure == FailureKind::kSoftFailure || in VerifyClass()
50 failure == FailureKind::kNoFailure) << error_msg; in VerifyClass()
53 ASSERT_TRUE(failure == FailureKind::kNoFailure) << error_msg; in VerifyClass()
Dclass_verifier.h59 static FailureKind ReverifyClass(Thread* self,
66 static FailureKind VerifyClass(Thread* self,
74 static FailureKind VerifyClass(Thread* self,
93 static FailureKind CommonVerifyClass(Thread* self,
103 static FailureKind VerifyClass(Thread* self,
Dverifier_enums.h33 enum class FailureKind { enum
39 std::ostream& operator<<(std::ostream& os, FailureKind rhs);
Dmethod_verifier.h231 FailureKind kind = FailureKind::kNoFailure;
Dmethod_verifier.cc5237 result.kind = FailureKind::kAccessChecksFailure; in VerifyMethod()
5239 result.kind = FailureKind::kSoftFailure; in VerifyMethod()
5259 result.kind = FailureKind::kSoftFailure; in VerifyMethod()
5276 result.kind = FailureKind::kSoftFailure; in VerifyMethod()
5307 result.kind = FailureKind::kHardFailure; in VerifyMethod()
5610 static FailureKind FailureKindMax(FailureKind fk1, FailureKind fk2) { in FailureKindMax()
5611 static_assert(FailureKind::kNoFailure < FailureKind::kSoftFailure in FailureKindMax()
5612 && FailureKind::kSoftFailure < FailureKind::kHardFailure, in FailureKindMax()
Dverifier_deps.h79 FailureKind failure_kind)
Dverifier_deps.cc524 FailureKind failure_kind) { in MaybeRecordVerificationStatus()
527 if (failure_kind == FailureKind::kNoFailure) { in MaybeRecordVerificationStatus()
/art/runtime/
Daot_class_linker.cc106 verifier::FailureKind AotClassLinker::PerformClassVerification(Thread* self, in PerformClassVerification()
116 return verifier::FailureKind::kNoFailure; in PerformClassVerification()
119 return verifier::FailureKind::kAccessChecksFailure; in PerformClassVerification()
125 return verifier::FailureKind::kSoftFailure; in PerformClassVerification()
Daot_class_linker.h43 verifier::FailureKind PerformClassVerification(Thread* self,
Dclass_linker.cc4699 verifier::FailureKind ClassLinker::VerifyClass( in VerifyClass()
4723 return verifier::FailureKind::kHardFailure; in VerifyClass()
4729 return verifier::FailureKind::kNoFailure; in VerifyClass()
4739 return verifier::FailureKind::kAccessChecksFailure; in VerifyClass()
4746 return verifier::FailureKind::kSoftFailure; in VerifyClass()
4756 return verifier::FailureKind::kNoFailure; in VerifyClass()
4770 return verifier::FailureKind::kHardFailure; in VerifyClass()
4797 return verifier::FailureKind::kHardFailure; in VerifyClass()
4832 verifier::FailureKind verifier_failure = verifier::FailureKind::kNoFailure; in VerifyClass()
4840 if (preverified || verifier_failure != verifier::FailureKind::kHardFailure) { in VerifyClass()
[all …]
Dclass_linker.h553 verifier::FailureKind VerifyClass(
836 virtual verifier::FailureKind PerformClassVerification(Thread* self,
/art/tools/art_verifier/
Dart_verifier.cc248 verifier::FailureKind res = in ExecuteWithRuntime()
/art/dex2oat/driver/
Dcompiler_driver.cc1986 verifier::FailureKind failure_kind; in Visit()
2010 if (failure_kind == verifier::FailureKind::kHardFailure) { in Visit()
2014 } else if (failure_kind == verifier::FailureKind::kSoftFailure) { in Visit()
2020 DCHECK(failure_kind == verifier::FailureKind::kNoFailure || in Visit()
2021 failure_kind == verifier::FailureKind::kAccessChecksFailure) << failure_kind; in Visit()
2022 failure_kind = verifier::FailureKind::kSoftFailure; in Visit()
2046 } else if (failure_kind == verifier::FailureKind::kSoftFailure) { in Visit()
2082 DCHECK_EQ(failure_kind, verifier::FailureKind::kNoFailure); in Visit()
2084 DCHECK_EQ(failure_kind, verifier::FailureKind::kAccessChecksFailure); in Visit()
2086 DCHECK_EQ(failure_kind, verifier::FailureKind::kSoftFailure); in Visit()
[all …]
/art/dex2oat/
Dverifier_deps_test.cc1224 verifier::FailureKind::kHardFailure); in TEST_F()
1227 verifier::FailureKind::kHardFailure); in TEST_F()
1233 verifier::FailureKind::kHardFailure); in TEST_F()
1236 verifier::FailureKind::kHardFailure); in TEST_F()
/art/openjdkjvmti/
Dti_redefine.cc1617 art::verifier::FailureKind failure = in CheckVerification()
1630 case art::verifier::FailureKind::kNoFailure: in CheckVerification()
1634 case art::verifier::FailureKind::kSoftFailure: in CheckVerification()
1635 case art::verifier::FailureKind::kAccessChecksFailure: in CheckVerification()
1641 case art::verifier::FailureKind::kHardFailure: { in CheckVerification()
2545 art::verifier::FailureKind failure = in ReverifyClass()
2553 CHECK_NE(failure, art::verifier::FailureKind::kHardFailure); in ReverifyClass()
/art/runtime/jit/
Djit.cc918 if (linker->VerifyClass(self, klass) == verifier::FailureKind::kHardFailure) { in Run()