Even if these types have a name recorded against them, we should
ignore it. They don't have names, full stop.
libctf/ChangeLog:
* ctf-open.c (init_static_types): Drop nameless types when sizing
the name table.
(init_static_types_names_internal): Never pass in their name.
pop[CTF_K_FLOAT] +
pop[CTF_K_FUNCTION] +
pop[CTF_K_TYPEDEF] +
- pop[CTF_K_POINTER] +
- pop[CTF_K_VOLATILE] +
- pop[CTF_K_CONST] +
- pop[CTF_K_RESTRICT] +
pop_enumerators,
ctf_hash_string,
ctf_hash_eq_string,
break;
err = ctf_dynhash_insert_type (fp, fp->ctf_names,
- ctf_index_to_type (fp, id),
- tp->ctt_name);
+ ctf_index_to_type (fp, id), 0);
if (err != 0)
return err * -1;
break;