Support TLS access into dylibs on Windows
This commit is contained in:
parent
51c93553d4
commit
0d89c6a2d4
23 changed files with 207 additions and 47 deletions
|
@ -65,6 +65,10 @@ pub(super) fn mangle<'tcx>(
|
|||
)
|
||||
.unwrap();
|
||||
|
||||
if let ty::InstanceDef::ThreadLocalShim(..) = instance.def {
|
||||
let _ = printer.write_str("{{tls-shim}}");
|
||||
}
|
||||
|
||||
if let ty::InstanceDef::VTableShim(..) = instance.def {
|
||||
let _ = printer.write_str("{{vtable-shim}}");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue