diff options
author | Lang Hames <lhames@gmail.com> | 2023-04-07 14:40:05 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2023-04-08 15:54:02 -0700 |
commit | f448d44663a5aab02eba650b486d31e00eab4599 (patch) | |
tree | e27cd4e21de2066307e4ace4a2a1ed49fa1d9c65 /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | af6ad7ac9a81e0e292afe0e33ae404dfdd08e0e7 (diff) | |
download | llvm-f448d44663a5aab02eba650b486d31e00eab4599.zip llvm-f448d44663a5aab02eba650b486d31e00eab4599.tar.gz llvm-f448d44663a5aab02eba650b486d31e00eab4599.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions