lhames wrote:

We chose emulated TLS back before the JIT supported any native TLS models.

On Darwin native TLS is now supported. On ELF platforms we support some TLS 
models, but not all of them. I've never looked at COFF native TLS support.

Ideally we'd support the native model, but that seems a ways off at this point. 
I'd welcome emulated TLS for COFF as a stop-gap, but this doesn't look like it 
goes that far.

@Sp0tless -- what's the failure mode today? If you're getting unresolved 
symbols, could we implement those symbols within the JIT to recover the 
behaviour that we want?

https://github.com/llvm/llvm-project/pull/220215
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to