TLS Range on current thread

Sumit Raja sumitraja at
Thu Aug 29 12:31:44 UTC 2013


I want to add support to the  LDC D compiler for FreeBSD, the current
version of D has moved to TLS by default. The__tls_get_addr method links
correctly but this crashes at runtime on garbage collection as the address
range could wrong.

What is the best way to determine the address range for the TLS segment for
the current thread?



More information about the freebsd-questions mailing list