Disable using giant packed struct for type info table for the time being

This commit is contained in:
gingerBill
2023-10-27 13:03:21 +01:00
parent 0a492acaa1
commit bc0fa1240b
3 changed files with 62 additions and 40 deletions

View File

@@ -2247,7 +2247,9 @@ gb_internal bool lb_generate_code(lbGenerator *gen) {
lb_add_entity(m, lb_global_type_info_data_entity, value);
if (LB_USE_GIANT_PACKED_STRUCT) {
lb_make_global_private_const(g);
LLVMSetLinkage(g, LLVMPrivateLinkage);
LLVMSetUnnamedAddress(g, LLVMGlobalUnnamedAddr);
LLVMSetGlobalConstant(g, /*true*/false);
}
}
{ // Type info member buffer