[cfe-dev] libc++ std::cout alignment trouble (was: Re: [llvm] r240144 - [SLP] Vectorize for all-constant entries.)

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 09:44:42 PST 2016


On Mon, Jan 04, 2016 at 11:53:37AM -0500, James Y Knight via llvm-commits wrote:
> Normally, increasing the alignment of a variable beyond what is
> requested is okay. The reason there's a problem in this instance is
> due to the way that shared objects work in ELF -- and that's a problem
> regardless of whether the alignment was user-specified or not.

Actually, it is not so much the shared object side that is wrong. I
still consider this to be fundamentally an LD bug -- it should be
ensuring at least 16 Bytes alignment there.

Joerg


More information about the llvm-commits mailing list