[PATCH] D104833: [not for review][lld-macho] Preserve skew + alignment for individual cstrings
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 23 19:06:24 PDT 2021
int3 created this revision.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104833
Files:
lld/MachO/InputSection.cpp
lld/MachO/SyntheticSections.cpp
lld/MachO/SyntheticSections.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104833.354137.patch
Type: text/x-patch
Size: 4542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210624/4df1328a/attachment.bin>
More information about the llvm-commits
mailing list