diff options
| author | bors <bors@rust-lang.org> | 2025-05-30 15:39:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-05-30 15:39:56 +0000 |
| commit | 15825b7161f8bd6a3482211fbf6727a52aa1166b (patch) | |
| tree | d8bddbd1c821b550409e1d04b749a921f1cb43fe /compiler/rustc_codegen_llvm/src/context.rs | |
| parent | aa5832b142a2bfd322659d60f5d57e25d2a1bd5d (diff) | |
| parent | e4d9b06cc81743210c1aa267397b394cb0335ed1 (diff) | |
| download | rust-15825b7161f8bd6a3482211fbf6727a52aa1166b.tar.gz rust-15825b7161f8bd6a3482211fbf6727a52aa1166b.zip | |
Auto merge of #139385 - joboet:threadlocal_address, r=nikic
rustc_codegen_llvm: use `threadlocal.address` intrinsic to access TLS Fixes #136044 r? `@nikic`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/context.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/context.rs b/compiler/rustc_codegen_llvm/src/context.rs index 8cc2cb9c333..8d6e1d8941b 100644 --- a/compiler/rustc_codegen_llvm/src/context.rs +++ b/compiler/rustc_codegen_llvm/src/context.rs @@ -1243,6 +1243,7 @@ impl<'ll> CodegenCx<'ll, '_> { } ifn!("llvm.ptrmask", fn(ptr, t_isize) -> ptr); + ifn!("llvm.threadlocal.address", fn(ptr) -> ptr); None } |
