Merge two operations that were always performed together
This commit is contained in:
parent
ea7180813b
commit
ce7f58bd91
5 changed files with 71 additions and 77 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue