[ORC][MachO] __objc_imageinfo isn't a MachO "object platform section".
Commit 2666231d fixed a typo ("__objc_image_info" was corrected to "__objc_imageinfo"), but this has exposed a bug where we were adding this section to the list of platform sections to register with the ORC runtime. The ORC runtime's MachO "object platform section" code doesn't recognize this section (it's handled elsewhere) and errors out on it. The solution is simply to remove __objc_imageinfo from the list of sections to register in MachOPlatform::PlatformPlugin::registerObjectPlatformSections.
Loading
Please sign in to comment