[llvm-commits] [PATCH] lli memory manager does not ensure proper alignment

Tim Northover t.p.northover at gmail.com
Fri Oct 12 05:58:47 PDT 2012


> Also, I think the amount calculation is dodgy. Suppose Size=1 and
> Alignment=16. It would then ask for 16 bytes. But if a misaligned
> address was returned, it would align it up to the end of the block and
> use incorrect memory for the single byte.

Actually, ignore that. I forgot that the memory past the alignment
sentinal is good.

Tim.



More information about the llvm-commits mailing list