Implementing native TLS on OS X in DMD

Dan Olson via digitalmars-d-ldc digitalmars-d-ldc at
Mon Jan 11 21:44:56 PST 2016

kinke <noone at> writes:

> On Saturday, 9 January 2016 at 20:07:34 UTC, Dan Olson wrote:
>> Just re-reading and it looks like alignments in your example are too
>> big for a 4-byte type, assuming var is an int.  .align only needs to
>> be 2 here.
> This is probably due to

I haven't carefully read the commit yet.  Is the extra alignment
intended for all vars declarations?  It probably is not a big issue, but
the following:

ubyte a,b,c,d,e,f,g,h;

uses 64-bytes versus the 8-bytes from before.


More information about the digitalmars-d-ldc mailing list