Added run-time abort if the first ivar of a newly-loaded class does not immediately follow on from the previous one.  This (hopefully, modulo some potential weirdness related to bitfields) means that we should now get programs refusing to start in most cases where they depend on frameworks that had their ABI change but didn't bump the library version.  This seems preferable to the previous behaviour of corrupting memory (note that this won't catch the case where the superclass has its ivars rearranged, but remains exactly the same size and the subclass references the ivars).
Added run-time abort if the first ivar of a newly-loaded class does not immediately follow on from the previous one.  This (hopefully, modulo some potential weirdness related to bitfields) means that we should now get programs refusing to start in most cases where they depend on frameworks that had their ABI change but didn't bump the library version.  This seems preferable to the previous behaviour of corrupting memory (note that this won't catch the case where the superclass has its ivars rearranged, but remains exactly the same size and the subclass references the ivars).



git-svn-id: a68838e7bd575144b7122a20f5a950e65beaf589@29015 72102866-910b-0410-8b05-ffd578937521

itumashyk/ndk-objc-gs-libobjc2,itumashyk/ndk-objc-gs-libobjc2