--emulated-tls explanation?

Denis Feklushkin feklushkin.denis at gmail.com
Tue Oct 13 09:59:40 UTC 2020


On Tuesday, 13 October 2020 at 09:32:07 UTC, Denis Feklushkin 
wrote:
> Hi!
>
> Can anyone explain what "--emulated-tls" actually do?
>
> It solves my problem with correct static variables placement on 
> ARM Cortex M3, but I don't know why.

Problem was:

Without --emulated-tls static member variables sometimes(?) was 
placed on same place. This not affect usual (TLS) variables, or 
shared/__gshared.



More information about the digitalmars-d-ldc mailing list