[PATCH] D46874: [MC] - Add .stack_size sections into groups and link them with .text
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 23 02:20:20 PDT 2018
grimar added a comment.
In https://reviews.llvm.org/D46874#1109196, @jhenderson wrote:
> Is .stack_sizes off by default? I assume so, and if it isn't, it probably should be, since it's not necessarily useful for everybody. If so, I'd suggest you go ahead with this change - it will only impact those who are using it, and they probably want it done properly if they are using -ffunction-sections. Maybe @ruiu has some suggestions from the linker's point of view too?
Yes, it is off by default.
And observing the results, I think it is worth to stop doing unification when -ffunction-sections is off
(to reduce the number of sections and possible linker slowdown).
I'll update the patch.
https://reviews.llvm.org/D46874
More information about the llvm-commits
mailing list