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.
Paths
| Differential D104833
[not for review][lld-macho] Preserve skew + alignment for individual cstrings AbandonedPublic Authored by int3 on Jun 23 2021, 7:06 PM.
Details
Summary When deduplicating cstrings, pick the alignment/skew of the one with the This doesn't actually work, just a PoC for future reference.
Diff Detail
Revision Contents
Diff 354137 lld/MachO/InputSection.cpp
lld/MachO/SyntheticSections.h
lld/MachO/SyntheticSections.cpp
|