Support TLS access into dylibs on Windows
This commit is contained in:
@@ -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}}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user