(mapped_index_string_hash, find_slot_in_mapped_hash): Ditto.
(dw2_setup, dw2_require_line_header, dw2_require_full_path): Ditto.
(dw2_do_expand_symtabs_matching): Ditto.
+ (eq_strtab_entry, create_strtab, add_string): Ditto.
+ (hash_strtab_entry): Ditto.
+ (hash_symtab_entry, eq_symtab_entry, delete_symtab_entry): Ditto.
+ (create_index_table, create_mapped_symtab, find_slot): Ditto.
+ (hash_expand, add_index_entry, add_indices_to_cpool): Ditto.
+ (write_hash_table, add_address_entry, write_psymbols): Ditto.
+ (write_obstack, unlink_if_set, write_one_signatured_type): Ditto.
+ (write_psymtabs_to_index): Ditto.
2010-10-04 Joel Brobecker <brobecker@adacore.com>
};
/* Hash function for a strtab_entry. */
+
static hashval_t
hash_strtab_entry (const void *e)
{
}
/* Equality function for a strtab_entry. */
+
static int
eq_strtab_entry (const void *a, const void *b)
{
}
/* Create a strtab_entry hash table. */
+
static htab_t
create_strtab (void)
{
/* Add a string to the constant pool. Return the string's offset in
host order. */
+
static offset_type
add_string (htab_t table, struct obstack *cpool, const char *str)
{
};
/* Hash function for a symtab_index_entry. */
+
static hashval_t
hash_symtab_entry (const void *e)
{
}
/* Equality function for a symtab_index_entry. */
+
static int
eq_symtab_entry (const void *a, const void *b)
{
}
/* Destroy a symtab_index_entry. */
+
static void
delete_symtab_entry (void *p)
{
}
/* Create a hash table holding symtab_index_entry objects. */
+
static htab_t
create_index_table (void)
{
}
/* Create a new mapped symtab object. */
+
static struct mapped_symtab *
create_mapped_symtab (void)
{
}
/* Destroy a mapped_symtab. */
+
static void
cleanup_mapped_symtab (void *p)
{
/* Find a slot in SYMTAB for the symbol NAME. Returns a pointer to
the slot. */
+
static struct symtab_index_entry **
find_slot (struct mapped_symtab *symtab, const char *name)
{
}
/* Expand SYMTAB's hash table. */
+
static void
hash_expand (struct mapped_symtab *symtab)
{
/* Add an entry to SYMTAB. NAME is the name of the symbol. CU_INDEX
is the index of the CU in which the symbol appears. */
+
static void
add_index_entry (struct mapped_symtab *symtab, const char *name,
offset_type cu_index)
}
/* Add a vector of indices to the constant pool. */
+
static offset_type
add_indices_to_cpool (htab_t index_table, struct obstack *cpool,
struct symtab_index_entry *entry)
/* Write the mapped hash table SYMTAB to the obstack OUTPUT, with
constant pool entries going into the obstack CPOOL. */
+
static void
write_hash_table (struct mapped_symtab *symtab,
struct obstack *output, struct obstack *cpool)
/* Write an address entry to ADDR_OBSTACK. The addresses are taken
from PST; CU_INDEX is the index of the CU in the vector of all
CUs. */
+
static void
add_address_entry (struct objfile *objfile,
struct obstack *addr_obstack, struct partial_symtab *pst,
}
/* Add a list of partial symbols to SYMTAB. */
+
static void
write_psymbols (struct mapped_symtab *symtab,
htab_t psyms_seen,
/* Write the contents of an ("unfinished") obstack to FILE. Throw an
exception if there is an error. */
+
static void
write_obstack (FILE *file, struct obstack *obstack)
{
}
/* Unlink a file if the argument is not NULL. */
+
static void
unlink_if_set (void *p)
{
/* A helper function that writes a single signatured_type to an
obstack. */
+
static int
write_one_signatured_type (void **slot, void *d)
{
}
/* Create an index file for OBJFILE in the directory DIR. */
+
static void
write_psymtabs_to_index (struct objfile *objfile, const char *dir)
{