get_tlsĀ®
is an assembly macro for retrieving the location (address) of Thread-local storage (TLS is thus an acronym). It is defined in automatically generated (during Go building) file asm.h
.
For GOOS=386
, get_tlsĀ®
resolves to: MOVL 0x2c(FS), r