rustc_codegen_llvm: use threadlocal.address intrinsic to access TLS
This commit is contained in:
@@ -1198,6 +1198,7 @@ impl<'ll> CodegenCx<'ll, '_> {
|
||||
}
|
||||
|
||||
ifn!("llvm.ptrmask", fn(ptr, t_isize) -> ptr);
|
||||
ifn!("llvm.threadlocal.address", fn(ptr) -> ptr);
|
||||
|
||||
None
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user