This is an archive of the discontinued LLVM Phabricator instance.

[not for review][lld-macho] Preserve skew + alignment for individual cstrings
AbandonedPublic

Authored by int3 on Jun 23 2021, 7:06 PM.

Details

Reviewers
gkm
Group Reviewers
Restricted Project
Summary

When deduplicating cstrings, pick the alignment/skew of the one with the
greater alignment. If they have the same alignment, pick the one earlier
on the command line.

This doesn't actually work, just a PoC for future reference.

Diff Detail

Event Timeline

int3 created this revision.Jun 23 2021, 7:06 PM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
int3 requested review of this revision.Jun 23 2021, 7:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2021, 7:06 PM
int3 abandoned this revision.Jun 26 2021, 3:53 PM