Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Created September 6, 2020 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiroyuki-sato/6157cbcc51da9c41b8f668ef8d100632 to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/6157cbcc51da9c41b8f668ef8d100632 to your computer and use it in GitHub Desktop.

ld64 source ld64 tarball

else {
        // handle undefined dynamic_lookup
        if ( _options.undefinedTreatment() == Options::kUndefinedDynamicLookup ) {
                if ( _options.sharedRegionEligible() )
                        throwf("-undefined dynamic_lookup cannot be used to find '%s' in dylib in dyld shared cache", toTarget->name());
                return BIND_SPECIAL_DYLIB_FLAT_LOOKUP;
        }

        // handle -U _foo
        if ( _options.allowedUndefined(toTarget->name()) )
                return BIND_SPECIAL_DYLIB_FLAT_LOOKUP;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment