Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ABI check to allow the functions to execute in either order #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 25, 2019

  1. Refactor ABI check to allow the functions to execute in either order

    As dynamic and static linking call the old and new load functions in
    the opposite order then the ABI mix check code needs to handle both cases.
    We take the approach of setting a flag if a (non Protocol) new class has
    been loaded and if any old class has been loaded, and at the end of each
    function we error if both flags are set to YES. This passes the basic
    check that a simple pieces of objectve C can be compiled and run both
    staticly and dynamicly using both the old and the new ABI.
    minusbat committed May 25, 2019
    Configuration menu
    Copy the full SHA
    0ab23be View commit details
    Browse the repository at this point in the history