[PATCH] D74887: [ELF] Shuffle .init_array/.fini_array with --shuffle-sections=
Rafael Avila de Espindola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 20 13:53:12 PST 2020
respindola added inline comments.
================
Comment at: lld/ELF/Writer.cpp:1364
+ // by --symbol-ordering-file or --shuffle-sections=.
+ if (!order.empty())
+ for (BaseCommand *b : sec->sectionCommands)
----------------
This will break code that uses init_priority, no?
I think we can only shuffle sections of equal priority.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74887/new/
https://reviews.llvm.org/D74887
More information about the llvm-commits
mailing list