diff options
author | Jez Ng <jezng@fb.com> | 2021-06-24 16:22:49 -0400 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2021-06-24 16:53:29 -0400 |
commit | 4a8503c8e04a5252193d58bb57a0111e7df05104 (patch) | |
tree | 672eae7f254146ff48cf6c30a483fcc916a5bc9e /llvm/unittests/Support/CommandLineTest.cpp | |
parent | e2d4b02404af13a600f27b67cad86682fd298efa (diff) | |
download | llvm-4a8503c8e04a5252193d58bb57a0111e7df05104.zip llvm-4a8503c8e04a5252193d58bb57a0111e7df05104.tar.gz llvm-4a8503c8e04a5252193d58bb57a0111e7df05104.tar.bz2 |
[lld-macho] Align all cstrings to 16 bytes when deduplicating
We previously did this only for x86_64, but it turns out that
arm64 needs this too -- see PR50791.
Ultimately this is a hack, and we should avoid over-aligning strings
that don't need it. I'm just having a hard time figuring out how ld64 is
determining the right alignment.
No new test for this since we were already testing this behavior for
x86_64, and extending it to arm64 seems too trivial.
Reviewed By: #lld-macho, thakis
Differential Revision: https://reviews.llvm.org/D104835
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions