This is an archive of the discontinued LLVM Phabricator instance.

[mac/lld] Make --reproduce work with thin archives
ClosedPublic

Authored by thakis on Dec 1 2020, 8:33 PM.

Details

Reviewers
int3
Group Reviewers
Restricted Project
Commits
rGca634393fc79: [mac/lld] Make --reproduce work with thin archives
Summary

See http://reviews.llvm.org/rL268229 and
http://reviews.llvm.org/rL313832 which did the same for the ELF port.

Diff Detail

Event Timeline

thakis requested review of this revision.Dec 1 2020, 8:33 PM
thakis created this revision.
int3 accepted this revision.Dec 1 2020, 8:42 PM
int3 added a subscriber: int3.

lgtm

lld/MachO/Driver.cpp
234

would be nice to have a comment about why we need this only for thin archives

lld/test/MachO/reproduce-thin-archives.s
18–19

the order of the files in the tar archive isn't actually important right? in that case we could just have two CHECK-DAG lines and do away with CHECK2

This revision is now accepted and ready to land.Dec 1 2020, 8:42 PM
This revision was automatically updated to reflect the committed changes.
thakis marked 2 inline comments as done.
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2020, 6:48 AM