fix calling convention and arg types
[m6w6/ext-psi] / src / types / decl_type.c
index 1445c353ebe2ec8fa719498d9616114473bc836f..f5086f14eeb73aa222a1cfb69ef0853e933c27e6 100644 (file)
@@ -336,6 +336,7 @@ void psi_decl_type_dump(struct psi_dump *dump, struct psi_decl_type *t, unsigned
        case PSI_T_STRUCT:
                PSI_DUMP(dump, "struct ");
                if (psi_decl_type_is_anon(t->name, "struct")) {
+                       PSI_DUMP(dump, "/*::(%zu, %zu)*/", t->real.strct->align, t->real.strct->size);
                        psi_decl_type_dump_args_with_layout(dump, t->real.strct->args, level);
                        return;
                }
@@ -344,6 +345,7 @@ void psi_decl_type_dump(struct psi_dump *dump, struct psi_decl_type *t, unsigned
        case PSI_T_UNION:
                PSI_DUMP(dump, "union ");
                if (psi_decl_type_is_anon(t->name, "union")) {
+                       PSI_DUMP(dump, "/*::(%zu, %zu)*/", t->real.unn->align, t->real.unn->size);
                        psi_decl_type_dump_args_with_layout(dump, t->real.unn->args, level);
                        return;
                }