[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
Sun Jul 31 00:19:22 PDT 2016
> On Jul 26, 2016, at 10:27, Abe Skolnik <a.skolnik at samsung.com> wrote:
>
> On 07/26/2016 12:02 PM, Matt Arsenault wrote:
>
>> We have a problem where some globals are lowered to an immediate address in the DAG.
>
> My apologies, but I don`t think I really understood that statement. Could anybody please expand/explain?
>
> Regards,
>
> Abe
The first allocated global has address 0. If a 16 byte object is allocated, the next object’s address will be the constant 16
-Matt
More information about the llvm-dev
mailing list