This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Have all load commands aligned to the word size
ClosedPublic

Authored by int3 on Jan 10 2023, 11:47 PM.

Details

Reviewers
None
Group Reviewers
Restricted Project
Commits
rG4f2a4617936f: [lld-macho] Have all load commands aligned to the word size
Summary

This is what ld64 does, and also what we already do for most of the
other load commands. I'm not aware of a good way to test this, but I
don't think it really matters.

Diff Detail

Event Timeline

int3 created this revision.Jan 10 2023, 11:47 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJan 10 2023, 11:47 PM
int3 requested review of this revision.Jan 10 2023, 11:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 11:47 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jan 24 2023, 5:11 PM
This revision was automatically updated to reflect the committed changes.