mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
fix missing byte sizes on alises
This commit is contained in:
@@ -2323,6 +2323,10 @@ ASYNC_WORK_DEF(p2r_symbol_stream_convert_work)
|
||||
type->kind = RDI_TypeKind_Alias;
|
||||
type->name = name;
|
||||
type->direct_type = p2r_type_ptr_from_itype(udt->itype);
|
||||
if(type->direct_type != 0)
|
||||
{
|
||||
type->byte_size = type->direct_type->byte_size;
|
||||
}
|
||||
}
|
||||
}break;
|
||||
|
||||
@@ -3492,6 +3496,7 @@ p2r_convert(Arena *arena, P2R_User2Convert *in)
|
||||
builtin_alias->kind = RDI_TypeKind_Alias;
|
||||
builtin_alias->name = str8_cstring(table[i].name);
|
||||
builtin_alias->direct_type = rdim_builtin_type_from_kind(all_types, table[i].kind_rdi);
|
||||
builtin_alias->byte_size = rdi_size_from_basic_type_kind(table[i].kind_rdi);
|
||||
itype_type_ptrs[table[i].kind_cv] = builtin_alias;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user