This is an archive of the discontinued LLVM Phabricator instance.

[ORC][ORC-RT] Register type metadata from __swift5_types MachO section
ClosedPublic

Authored by benlangmuir on Nov 12 2021, 3:28 PM.

Details

Summary

Similar to how the other swift sections are registered by the ORC
runtime's macho platform, add the __swift5_types section, which contains
type metadata. Add a simple test that demonstrates that the swift
runtime recognized the registered types.

rdar://85358530

Diff Detail

Event Timeline

benlangmuir created this revision.Nov 12 2021, 3:28 PM
benlangmuir requested review of this revision.Nov 12 2021, 3:28 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 12 2021, 3:28 PM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
lhames accepted this revision.Nov 12 2021, 3:30 PM

LGTM. Thanks Ben!

This revision is now accepted and ready to land.Nov 12 2021, 3:30 PM
This revision was landed with ongoing or failed builds.Nov 12 2021, 4:40 PM
This revision was automatically updated to reflect the committed changes.