[all-commits] [llvm/llvm-project] b9cf17: [lld][ELF] remove empty SyntheticSections from inp...
amilendra via All-commits
all-commits at lists.llvm.org
Tue Jul 27 15:29:16 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9cf1769de54152c05614e6bf00c89f2a67f6d8d
https://github.com/llvm/llvm-project/commit/b9cf1769de54152c05614e6bf00c89f2a67f6d8d
Author: Amilendra Kodithuwakku <amilendra.kodithuwakku at arm.com>
Date: 2021-07-27 (Tue, 27 Jul 2021)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/shuffle-sections-init-fini.s
M lld/test/ELF/shuffle-sections.s
Log Message:
-----------
[lld][ELF] remove empty SyntheticSections from inputSections
Change removeUnusedSyntheticSections() to actually remove empty
SyntheticSections in inputSections.
In addition to doing what removeUnusedSyntheticSections() was meant
to do, this will also make the shuffle-sections tests, which shuffles
inputSections, less sensitive to empty Synthetic Sections that
will not appear in the final image.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D106427
Change-Id: I589eaf596472161a4395fb658aea0fad73318088
More information about the All-commits
mailing list