[PATCH] D64200: [ELF] Allow placing non-string SHF_MERGE sections with different alignments into the same MergeSyntheticSection
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 4 03:29:51 PDT 2019
MaskRay added a comment.
> That would (1) waste space and (2) create unaligned sections when tail merge (-O2) is enabled. MOVAPS on such unaligned strings can raise SIGSEGV.
I haven't figured out the root cause of (2) yet.
(1) justifies a change, otherwise we will get something like `a.......b.......c.......`, which wastes space.
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64200/new/
https://reviews.llvm.org/D64200
More information about the llvm-commits
mailing list