about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-24 15:34:07 +0000
committerbors <bors@rust-lang.org>2024-05-24 15:34:07 +0000
commit9e297bf54d31eb3b30067208ff9af4416945a2ed (patch)
treea4d3c30ebb2ce5b2745e8b4f58e54647444f0613 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent213ad10c8f0fc275648552366275dc4e07f97462 (diff)
parent0e7e75ebca2ee9cc9a6c019110797250094908f5 (diff)
downloadrust-9e297bf54d31eb3b30067208ff9af4416945a2ed.tar.gz
rust-9e297bf54d31eb3b30067208ff9af4416945a2ed.zip
Auto merge of #122494 - joboet:simplify_key_tls, r=m-ou-se
Simplify key-based thread locals

This PR simplifies key-based thread-locals by:
* unifying the macro expansion of `const` and non-`const` initializers
* reducing the amount of code in the expansion
* simply reallocating on recursive initialization instead of going through `LazyKeyInner`
* replacing `catch_unwind` with the shared `abort_on_dtor_unwind`

It does not change the initialization behaviour described in #110897.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions