mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-15 18:32:22 -07: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;
|
||||
LLVMSetInitializer(giant_array, giant_const);
|
||||
LLVMSetGlobalConstant(giant_array, true);
|
||||
LLVMSetLinkage(giant_array, LLVMLinkerPrivateLinkage);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user