Home
last modified time | relevance | path

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

/art/runtime/verifier/
Dmethod_verifier_test.cc44 FailureKind failure = MethodVerifier::VerifyClass( in VerifyClass()
48 ASSERT_TRUE(failure == FailureKind::kSoftFailure || in VerifyClass()
49 failure == FailureKind::kNoFailure) << error_msg; in VerifyClass()
52 ASSERT_TRUE(failure == FailureKind::kNoFailure) << error_msg; in VerifyClass()
Dverifier_enums.h33 enum class FailureKind { enum
38 std::ostream& operator<<(std::ostream& os, const FailureKind& rhs);
Dmethod_verifier.h98 static FailureKind VerifyClass(Thread* self,
105 static FailureKind VerifyClass(Thread* self,
271 FailureKind kind = FailureKind::kNoFailure;
Dmethod_verifier.cc145 FailureKind MethodVerifier::VerifyClass(Thread* self, in VerifyClass()
152 return FailureKind::kNoFailure; in VerifyClass()
176 return FailureKind::kHardFailure; in VerifyClass()
197 static FailureKind FailureKindMax(FailureKind fk1, FailureKind fk2) { in FailureKindMax()
198 static_assert(FailureKind::kNoFailure < FailureKind::kSoftFailure in FailureKindMax()
199 && FailureKind::kSoftFailure < FailureKind::kHardFailure, in FailureKindMax()
263 if (result.kind == FailureKind::kHardFailure) { in VerifyMethods()
264 if (failure_data.kind == FailureKind::kHardFailure) { in VerifyMethods()
283 FailureKind MethodVerifier::VerifyClass(Thread* self, in VerifyClass()
299 return FailureKind::kHardFailure; in VerifyClass()
[all …]
Dverifier_deps.h71 FailureKind failure_kind)
Dverifier_deps.cc499 FailureKind failure_kind) { in MaybeRecordVerificationStatus()
500 if (failure_kind == FailureKind::kNoFailure) { in MaybeRecordVerificationStatus()
/art/runtime/
Daot_class_linker.cc73 verifier::FailureKind AotClassLinker::PerformClassVerification(Thread* self, in PerformClassVerification()
83 return verifier::FailureKind::kNoFailure; in PerformClassVerification()
89 return verifier::FailureKind::kSoftFailure; in PerformClassVerification()
Daot_class_linker.h33 verifier::FailureKind PerformClassVerification(Thread* self,
Dclass_linker.cc4024 verifier::FailureKind ClassLinker::VerifyClass( in VerifyClass()
4049 return verifier::FailureKind::kHardFailure; in VerifyClass()
4055 return verifier::FailureKind::kNoFailure; in VerifyClass()
4061 return verifier::FailureKind::kSoftFailure; in VerifyClass()
4077 return verifier::FailureKind::kNoFailure; in VerifyClass()
4091 return verifier::FailureKind::kHardFailure; in VerifyClass()
4118 return verifier::FailureKind::kHardFailure; in VerifyClass()
4152 verifier::FailureKind verifier_failure = verifier::FailureKind::kNoFailure; in VerifyClass()
4160 if (preverified || verifier_failure != verifier::FailureKind::kHardFailure) { in VerifyClass()
4161 if (!preverified && verifier_failure != verifier::FailureKind::kNoFailure) { in VerifyClass()
[all …]
Dclass_linker.h512 verifier::FailureKind VerifyClass(
763 virtual verifier::FailureKind PerformClassVerification(Thread* self,
/art/compiler/driver/
Dcompiler_driver.cc2050 verifier::FailureKind failure_kind; in Visit()
2073 if (failure_kind == verifier::FailureKind::kHardFailure) { in Visit()
2077 } else if (failure_kind == verifier::FailureKind::kSoftFailure) { in Visit()
2083 DCHECK(failure_kind == verifier::FailureKind::kNoFailure) << failure_kind; in Visit()
2084 failure_kind = verifier::FailureKind::kSoftFailure; in Visit()
2095 } else if (failure_kind == verifier::FailureKind::kSoftFailure) { in Visit()
2122 DCHECK_EQ(failure_kind, verifier::FailureKind::kNoFailure); in Visit()
2124 DCHECK_EQ(failure_kind, verifier::FailureKind::kSoftFailure); in Visit()
2126 DCHECK_EQ(failure_kind, verifier::FailureKind::kHardFailure); in Visit()
2131 failure_kind = verifier::FailureKind::kSoftFailure; in Visit()
/art/compiler/
Dverifier_deps_test.cc1158 verifier::FailureKind::kHardFailure); in TEST_F()
1161 verifier::FailureKind::kHardFailure); in TEST_F()
1167 verifier::FailureKind::kHardFailure); in TEST_F()
1170 verifier::FailureKind::kHardFailure); in TEST_F()
/art/openjdkjvmti/
Dti_redefine.cc1118 art::verifier::FailureKind failure = in CheckVerification()
1130 case art::verifier::FailureKind::kNoFailure: in CheckVerification()
1131 case art::verifier::FailureKind::kSoftFailure: in CheckVerification()
1133 case art::verifier::FailureKind::kHardFailure: { in CheckVerification()