This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Have order files support filtering by archive member paths
ClosedPublic

Authored by int3 on Dec 18 2020, 3:48 PM.

Details

Summary

Also remove iteration over ArchiveFile symbols in buildInputSectionPriorities --
that was rendered unnecessary after D92539, which included ObjFiles from
ArchiveFiles inside the inputFiles vector.

Diff Detail

Event Timeline

int3 requested review of this revision.Dec 18 2020, 3:48 PM
int3 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 18 2020, 3:48 PM
int3 updated this revision to Diff 312894.Dec 18 2020, 3:50 PM

put back TODO

Harbormaster completed remote builds in B83022: Diff 312894.
smeenai accepted this revision.Dec 18 2020, 4:02 PM
smeenai added a subscriber: smeenai.

LGTM

lld/MachO/Writer.cpp
501–510

Out of curiosity, why the change from reference to pointer? Is it a leftover from an attempt to use toString?

This revision is now accepted and ready to land.Dec 18 2020, 4:02 PM
int3 added inline comments.Dec 18 2020, 4:03 PM
lld/MachO/Writer.cpp
501–510

oops yeah it is. I can put the reference back

This revision was landed with ongoing or failed builds.Dec 20 2020, 10:50 AM
This revision was automatically updated to reflect the committed changes.