This is an archive of the discontinued LLVM Phabricator instance.

[lld/mac] Change load command order to be more like ld64
ClosedPublic

Authored by thakis on Jul 17 2021, 8:28 AM.

Details

Reviewers
int3
gkm
Group Reviewers
Restricted Project
Commits
rGbcbb3066ce8a: [lld/mac] Change load command order to be more like ld64
Summary

No meaningful behavior change. Makes diffing otool -l output a bit easier.

Diff Detail

Event Timeline

thakis created this revision.Jul 17 2021, 8:28 AM
Herald added a reviewer: gkm. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
thakis requested review of this revision.Jul 17 2021, 8:28 AM
int3 accepted this revision.Jul 17 2021, 9:11 AM
int3 added inline comments.
lld/MachO/Writer.cpp
725–726

:/ seems kind of awkward that this isn't part of the switch statement above. maybe add a comment about why?

This revision is now accepted and ready to land.Jul 17 2021, 9:11 AM
This revision was automatically updated to reflect the committed changes.
thakis marked an inline comment as done.
Herald added a project: Restricted Project. · View Herald TranscriptJul 19 2021, 12:04 PM