Home
last modified time | relevance | path

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

/art/runtime/verifier/
Dclass_verifier.cc84 FailureKind ClassVerifier::VerifyClass(Thread* self, in VerifyClass()
100 return FailureKind::kHardFailure; in VerifyClass()
141 if (result.kind == FailureKind::kHardFailure) { in VerifyClass()
142 if (failure_data.kind == FailureKind::kHardFailure) { in VerifyClass()
153 } else if (result.kind != FailureKind::kNoFailure) { in VerifyClass()
183 if (failure_data.kind == verifier::FailureKind::kHardFailure && callbacks != nullptr) { in VerifyClass()
Dmethod_verifier_test.cc56 FailureKind failure = ClassVerifier::VerifyClass(self, in VerifyClass()
69 ASSERT_TRUE(failure == FailureKind::kSoftFailure || in VerifyClass()
70 failure == FailureKind::kNoFailure) << error_msg; in VerifyClass()
73 ASSERT_TRUE(failure == FailureKind::kNoFailure) << error_msg; in VerifyClass()
Dverifier_enums.h35 enum class FailureKind { enum
42 std::ostream& operator<<(std::ostream& os, FailureKind rhs);
Dclass_verifier.h59 EXPORT static FailureKind VerifyClass(Thread* self,
Dmethod_verifier.h214 FailureKind kind = FailureKind::kNoFailure;
Dverifier_deps.cc278 FailureKind failure_kind) { in MaybeRecordVerificationStatus()
281 case verifier::FailureKind::kHardFailure: in MaybeRecordVerificationStatus()
282 case verifier::FailureKind::kSoftFailure: { in MaybeRecordVerificationStatus()
289 case verifier::FailureKind::kAccessChecksFailure: in MaybeRecordVerificationStatus()
290 case verifier::FailureKind::kTypeChecksFailure: in MaybeRecordVerificationStatus()
291 case verifier::FailureKind::kNoFailure: { in MaybeRecordVerificationStatus()
Dverifier_deps.h90 FailureKind failure_kind)
Dmethod_verifier.cc5083 result.kind = FailureKind::kTypeChecksFailure; in VerifyMethod()
5085 result.kind = FailureKind::kAccessChecksFailure; in VerifyMethod()
5088 result.kind = FailureKind::kSoftFailure; in VerifyMethod()
5123 result.kind = FailureKind::kHardFailure; in VerifyMethod()
5350 static FailureKind FailureKindMax(FailureKind fk1, FailureKind fk2) { in FailureKindMax()
5351 static_assert(FailureKind::kNoFailure < FailureKind::kSoftFailure in FailureKindMax()
5352 && FailureKind::kSoftFailure < FailureKind::kHardFailure, in FailureKindMax()
/art/runtime/oat/
Daot_class_linker.cc112 verifier::FailureKind AotClassLinker::PerformClassVerification( in PerformClassVerification()
124 return verifier::FailureKind::kNoFailure; in PerformClassVerification()
127 return verifier::FailureKind::kAccessChecksFailure; in PerformClassVerification()
133 return verifier::FailureKind::kSoftFailure; in PerformClassVerification()
Daot_class_linker.h147 verifier::FailureKind PerformClassVerification(Thread* self,
/art/dex2oat/
Dverifier_deps_test.cc544 verifier::FailureKind::kHardFailure); in TEST_F()
548 verifier::FailureKind::kHardFailure); in TEST_F()
553 verifier::FailureKind::kHardFailure); in TEST_F()
557 verifier::FailureKind::kHardFailure); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver.cc1989 verifier::FailureKind failure_kind; in Visit()
2015 case verifier::FailureKind::kHardFailure: { in Visit()
2019 case verifier::FailureKind::kSoftFailure: { in Visit()
2023 case verifier::FailureKind::kTypeChecksFailure: { in Visit()
2028 case verifier::FailureKind::kAccessChecksFailure: { in Visit()
2032 case verifier::FailureKind::kNoFailure: { in Visit()
2047 DCHECK_EQ(klass->IsErroneous(), failure_kind == verifier::FailureKind::kHardFailure); in Visit()
2048 if (failure_kind == verifier::FailureKind::kHardFailure) { in Visit()
2053 } else if (failure_kind == verifier::FailureKind::kSoftFailure) { in Visit()
2088 DCHECK_EQ(failure_kind, verifier::FailureKind::kNoFailure); in Visit()
[all …]
/art/tools/art_verifier/
Dart_verifier.cc248 verifier::FailureKind res = in ExecuteWithRuntime()
/art/runtime/
Dclass_linker.cc214 verifier::FailureKind failure_kind) in UpdateClassAfterVerification()
218 if (klass->IsVerified() && (failure_kind == verifier::FailureKind::kNoFailure)) { in UpdateClassAfterVerification()
4899 verifier::FailureKind ClassLinker::VerifyClass(Thread* self, in VerifyClass()
4925 return verifier::FailureKind::kHardFailure; in VerifyClass()
4940 verifier::FailureKind failure = in VerifyClass()
4944 DCHECK_NE(failure, verifier::FailureKind::kHardFailure) << error_msg; in VerifyClass()
4946 return verifier::FailureKind::kNoFailure; in VerifyClass()
4955 return verifier::FailureKind::kAccessChecksFailure; in VerifyClass()
4962 return verifier::FailureKind::kSoftFailure; in VerifyClass()
4971 UpdateClassAfterVerification(klass, image_pointer_size_, verifier::FailureKind::kNoFailure); in VerifyClass()
[all …]
Dclass_linker.h595 verifier::FailureKind VerifyClass(
985 virtual verifier::FailureKind PerformClassVerification(Thread* self,
/art/runtime/jit/
Djit.cc826 verifier::FailureKind::kHardFailure) { in Run()
/art/openjdkjvmti/
Dti_redefine.cc1639 art::verifier::FailureKind failure = in CheckVerification()
1654 if (failure == art::verifier::FailureKind::kHardFailure) { in CheckVerification()