[llvm-dev] grouping global variables by alignment: safe to do at LLVM level, or only at Clang level?

Matt Arsenault via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 26 10:02:29 PDT 2016

> On Jul 25, 2016, at 20:53, Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> Isn’t something a linker could/should do?

We have a problem where some globals are lowered to an immediate address in the DAG. It would be nice if we had some fixed order for the globals before then. Right now the total allocated size at the end depends on the use order, block by block, inverse within the block

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160726/32ca04ce/attachment.html>

More information about the llvm-dev mailing list