Files
clang-p2996/llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Lang Hames 88db195695 [ORC][MachO] __objc_imageinfo isn't a MachO "object platform section".
Commit 2666231d17 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.
2023-03-31 20:41:32 -07:00

46 KiB