This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Use LC_LOAD_WEAK_DYLIB for dylibs with only weakrefs
ClosedPublic

Authored by int3 on Dec 16 2020, 5:20 PM.

Details

Summary

Note that dylibs without *any* refs will still be loaded in the usual
(strong) fashion.

Diff Detail

Event Timeline

int3 requested review of this revision.Dec 16 2020, 5:20 PM
int3 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 16 2020, 5:20 PM
thakis accepted this revision.Dec 16 2020, 5:49 PM
This revision is now accepted and ready to land.Dec 16 2020, 5:49 PM
This revision was landed with ongoing or failed builds.Dec 17 2020, 5:49 AM
This revision was automatically updated to reflect the committed changes.