about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-23 14:53:41 +0000
committerbors <bors@rust-lang.org>2024-05-23 14:53:41 +0000
commit9c8a58fdb895204cb19eeb97472a78caa1c57c19 (patch)
tree1eea71e3acb3d157f9e03493a8a65b997aec03f7 /compiler/rustc_codegen_llvm/src/errors.rs
parented172dbbaf1c702b99da54554b33b3fe65021da9 (diff)
parent60bf1ab46687a41f92a39d9bddcde5a2a0cd8c15 (diff)
downloadrust-9c8a58fdb895204cb19eeb97472a78caa1c57c19.tar.gz
rust-9c8a58fdb895204cb19eeb97472a78caa1c57c19.zip
Auto merge of #116123 - joboet:rewrite_native_tls, r=m-ou-se
Rewrite native thread-local storage

(part of #110897)

The current native thread-local storage implementation has become quite messy, uses indescriptive names and unnecessarily adds code to the macro expansion. This PR tries to fix that by using a new implementation that also allows more layout optimizations and potentially increases performance by eliminating unnecessary TLS accesses.

This does not change the recursive initialization behaviour I described in [this comment](https://github.com/rust-lang/rust/issues/110897#issuecomment-1525705682), so it should be a library-only change. Changing that behaviour should be quite easy now, however.

r? `@m-ou-se`
`@rustbot` label +T-libs
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions