[ORC][ORC-RT][MachO] Use _objc_(map|load)_images for ObjC & Swift registration.
This patch drops the individual registration calls to the ObjC and Swift runtimes (for selectors, classes, etc.), and instead creates a Mach header and load commands that can be passed to _objc_map_images and _objc_load_images to trigger registration and execution of +load methods. This approach supports categories (for which there is no current registration API), and more closely follows dyld's ObjC & Swift registration path.
Loading
Please sign in to comment