[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 08:25:41 PDT 2018


grimar planned changes to this revision.
grimar added a comment.

What I can probably do is to compute ID based on the .text section name.

So that for no -ffunction-sections case it would emit several .stack_sizes with the same ID and so that final object would contain only a single section finally,
just like we would want.

It would work for my sample case too I think. Let me try to implement this.


https://reviews.llvm.org/D46874





More information about the llvm-commits mailing list