[PATCH] D54621: [ELF] - Do not remove empty sections referenced in LOADADDR/ADDR commands.
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 30 05:31:33 PST 2018
peter.smith added a comment.
This could also occur with ALIGNOF and SIZEOF. It looks like Script->getOrCreateSectionName() is only called when a part of a script references another, whereas SECTIONS uses Script->createSectionName(). Might it be better to set ForceKeepIfEmpty in that function.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54621/new/
https://reviews.llvm.org/D54621
More information about the llvm-commits
mailing list