mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-17 16:38:22 +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;
|
||||
LLVMSetInitializer(giant_array, giant_const);
|
||||
LLVMSetGlobalConstant(giant_array, true);
|
||||
LLVMSetLinkage(giant_array, LLVMLinkerPrivateLinkage);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user