This is an archive of the discontinued LLVM Phabricator instance.

[darwin] build and link with a separate compiler-rt builtins library for device simulators
ClosedPublic

Authored by arphaman on Jul 24 2020, 4:12 PM.

Details

Summary

This change separates out the iOS/tvOS/watchOS simulator slices from the "libclang_rt.<os>.a" fat archive, by moving them out to their own "libclang_rt.<os>sim.a" static archive.
This allows us to build and to link with an arm64 device simulator slice for the simulators running on Apple Silicons, and to distribute it in one archive alongside the Intel simulator slices.

Diff Detail

Event Timeline

arphaman created this revision.Jul 24 2020, 4:12 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 24 2020, 4:12 PM
Herald added subscribers: Restricted Project, ributzka, jkorous and 3 others. · View Herald Transcript
This revision is now accepted and ready to land.Jul 27 2020, 9:11 AM