mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Set linkage to private for __$type_info_data
This commit is contained in:
@@ -1104,6 +1104,7 @@ gb_internal void lb_setup_type_info_data_giant_array(lbModule *m, i64 global_typ
|
|||||||
LLVMValueRef giant_array = lb_global_type_info_data_ptr(m).value;
|
LLVMValueRef giant_array = lb_global_type_info_data_ptr(m).value;
|
||||||
LLVMSetInitializer(giant_array, giant_const);
|
LLVMSetInitializer(giant_array, giant_const);
|
||||||
LLVMSetGlobalConstant(giant_array, true);
|
LLVMSetGlobalConstant(giant_array, true);
|
||||||
|
LLVMSetLinkage(giant_array, LLVMLinkerPrivateLinkage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user