abrown closed Issue #963:
- What is the feature or code improvement you would like to do in Cranelift? Supporting native TLS.
- What is the value of adding this in Cranelift? This is required for https://github.com/bjorn3/rustc_codegen_cranelift/issues/388 (support multithreading in cg_clif)
Do you have an implementation plan, and/or ideas for data structures or
algorithms to use? Do the same thing as LLVMHave you considered alternative implementations? If so, how are they better
or worse than your proposal?
* Use a TLS base like Spidermonkey. That would make it impossible to interface with TLS variables created by LLVM or any other compiler which uses the native TLS facilities. It also wouldn't work when linking multiple objects together, as the native linker doesn't understand anything about it. Lastly it requires reserving a register, which won't work well when interfacing with C.Edit: filled in new issue template
Last updated: Nov 22 2024 at 16:03 UTC