Getting tls symbols out of the compiler.

David Nadlinger see at klickverbot.at
Sat Jun 1 02:53:50 PDT 2013


On Friday, 31 May 2013 at 07:58:25 UTC, Jacob Carlborg wrote:
> void dyld_enumerate_tlv_storage(dyld_tlv_state_change_handler 
> handler)
>
> If I recall correctly, LDC is using 
> "dyld_enumerate_tlv_storage".

Yep. It's a bit cumbersome to handle, though, as it relies on 
Blocks support:

https://github.com/ldc-developers/druntime/blob/2c78290fff65f2fce763da4b077856a2fc7596fb/src/ldc/osx_tls.c#L36

David


More information about the D.gnu mailing list