Add some extra debugging/diagnostic support.
CHECK that we don't bring a class back from a "permanent" error status in the
oat file at runtime.
CHECK that runtime_support.cc doesn't hand out 0 as an address for its caller
to branch to.
Also remove some accidentally left in debugging output.
Also fix a few comment typos.
Change-Id: Ibf4224940e9013184888c7854e675b17e0500ac9
diff --git a/src/class_linker.h b/src/class_linker.h
index 9ba79eb..eb76738 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -277,7 +277,8 @@
ObjectArray<StackTraceElement>* AllocStackTraceElementArray(size_t length);
void VerifyClass(Class* klass);
- bool VerifyClassUsingOatFile(const DexFile& dex_file, Class* klass);
+ bool VerifyClassUsingOatFile(const DexFile& dex_file, Class* klass,
+ Class::Status& oat_file_class_status);
void ResolveClassExceptionHandlerTypes(const DexFile& dex_file, Class* klass);
void ResolveMethodExceptionHandlerTypes(const DexFile& dex_file, Method* klass);