1
Fork 0

Merge two operations that were always performed together

This commit is contained in:
Oli Scherer 2025-02-14 17:27:49 +00:00
parent ea7180813b
commit ce7f58bd91
5 changed files with 71 additions and 77 deletions

View file

@ -409,3 +409,9 @@ pub(crate) fn set_dllimport_storage_class<'ll>(v: &'ll Value) {
LLVMSetDLLStorageClass(v, DLLStorageClass::DllImport);
}
}
pub(crate) fn set_dso_local<'ll>(v: &'ll Value) {
unsafe {
LLVMRustSetDSOLocal(v, true);
}
}