This is an archive of the discontinued LLVM Phabricator instance.

[libc] Cleanup the CMake infrastructure to add startup objects.
ClosedPublic

Authored by sivachandra on Feb 6 2023, 11:01 PM.

Details

Summary

Instead of using a custom target to copy the startup object file to a
file with the desired name, a normal object library with a special
property is used.

Follow up patches will do more cleanup wrt how the startup objects are
used in integration tests.

Diff Detail

Event Timeline

sivachandra created this revision.Feb 6 2023, 11:01 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 6 2023, 11:01 PM
sivachandra requested review of this revision.Feb 6 2023, 11:01 PM
jhuber6 accepted this revision.Feb 7 2023, 4:47 AM
This revision is now accepted and ready to land.Feb 7 2023, 4:47 AM