Lines Matching refs:signature
313 .debug_info calls this "dwo_id", .debug_types calls this "signature".
315 ULONGEST signature;
1155 const char *comp_dir, ULONGEST signature, int is_debug_types);
1161 ULONGEST signature);
1815 dwarf2_per_bfd::allocate_signatured_type (ULONGEST signature)
1817 signatured_type_up result (new signatured_type (signature));
3346 /* This drops the top 32 bits of the signature, but is ok for a hash. */
3347 return sig_type->signature;
3356 return lhs->signature == rhs->signature;
3402 any dies: the signature is in the header. */
3417 header.signature = -1;
3420 /* We need to read the type's signature in order to build the hash
3443 dwo_tu->signature = header.signature;
3453 " the entry at offset %s, signature %s"),
3456 hex_string (header.signature));
3459 dwarf_read_debug_printf_v (" offset %s, signature %s",
3461 hex_string (header.signature));
3486 /* Add an entry for signature SIG to dwarf2_per_objfile->per_bfd->signatured_types.
3529 gdb_assert (sig_entry->signature == dwo_entry->signature);
3554 type signature that it needs.
3603 find_dwo_entry.signature = sig;
3620 Look up the type for signature SIG, and if we can't find SIG in .gdb_index
3664 /* Lookup a signature based type for DW_FORM_ref_sig8.
3665 Returns NULL if signature SIG is not present in the table.
3826 if (sig_type->signature != cu->header.signature)
3828 error (_("Dwarf Error: signature mismatch %s vs %s while reading"
3830 hex_string (sig_type->signature),
3831 hex_string (cu->header.signature),
3880 /* Return the signature of the compile unit, if found. In DWARF 4 and before,
3881 the signature is in the DW_AT_GNU_dwo_id attribute. In DWARF 5 and later, the
3882 signature is part of the header. */
3887 return cu->header.signature;
3923 std::optional<ULONGEST> signature = lookup_dwo_id (cu, comp_unit_die);
3925 if (!signature.has_value ())
3930 dwo_unit = lookup_dwo_comp_unit (cu, dwo_name, comp_dir, *signature);
4085 gdb_assert (sig_type->signature == cu->header.signature);
4751 signatured_type find_entry (dwo_unit->signature);
4762 = add_type_unit (data->per_objfile, dwo_unit->signature, slot);
5026 (cu_header.signature);
5035 " the entry at offset %s, signature %s"),
5038 hex_string (sig_ptr->signature));
5451 hex_string (sig_type->signature),
7759 return dwo_unit->signature;
7768 /* The signature is assumed to be unique within the DWO file.
7772 return lhs->signature == rhs->signature;
7802 std::optional<ULONGEST> signature = lookup_dwo_id (cu, comp_unit_die);
7803 if (!signature.has_value ())
7812 dwo_unit->signature = *signature;
7819 hex_string (dwo_unit->signature));
7882 " the entry at offset %s, signature %s"),
7884 hex_string (dwo_unit->signature));
7901 signature to a set of section numbers. Each section begins with a header,
7916 of M 64-bit slots. Each slot contains a 64-bit signature (using the byte
7918 (We rely on the extreme unlikeliness of a signature being exactly 0.)
8021 Given a 64-bit compilation unit signature or a type signature S, an entry
8029 3) If the hash table entry at index H matches the signature, use that
8031 terminate the search: the signature is not present in the table.
8349 /* Create a dwo_unit object for the DWO unit with signature SIGNATURE.
8359 ULONGEST signature, int is_debug_types)
8374 kind, pulongest (unit_index), hex_string (signature),
8487 dwo_unit->signature = signature;
8538 /* Create a dwo_unit object for the DWO unit with signature SIGNATURE.
8548 ULONGEST signature, int is_debug_types)
8563 kind, pulongest (unit_index), hex_string (signature),
8690 dwo_unit->signature = signature;
8705 /* Create a dwo_unit object for the DWO unit with signature SIGNATURE.
8715 ULONGEST signature, int is_debug_types)
8729 kind, pulongest (unit_index), hex_string (signature),
8867 dwo_unit->signature = signature;
8880 Returns NULL if the signature isn't found. */
8885 ULONGEST signature, int is_debug_types)
8891 uint32_t hash = signature & mask;
8892 uint32_t hash2 = ((signature >> 32) & mask) | 1;
8898 find_dwo_cu.signature = signature;
8914 if (signature_in_table == signature)
8924 signature, is_debug_types);
8930 signature, is_debug_types);
8936 signature, is_debug_types);
9288 /* This drops the top 32 bits of the signature, but is ok for a hash. */
9289 return dwo_unit->signature;
9300 return dua->signature == dub->signature;
9468 Look up the CU/TU with signature SIGNATURE, either in DWO file DWO_NAME
9485 ULONGEST signature, int is_debug_types)
9508 lookup_dwo_unit_in_dwp (per_objfile, dwp_file, comp_dir, signature,
9514 kind, hex_string (signature),
9543 find_dwo_cutu.signature = signature;
9553 find_dwo_cutu.signature = signature;
9561 kind, dwo_name, hex_string (signature),
9574 kind, dwo_name, hex_string (signature));
9589 kind, dwo_name, hex_string (signature), dwp_text.c_str (), kind,
9600 ULONGEST signature)
9604 return lookup_dwo_cutu (cu, dwo_name, comp_dir, signature, 0);
9617 return lookup_dwo_cutu (cu, dwo_name, comp_dir, sig_type->signature, 1);
9627 ULONGEST signature = dwo_unit->signature;
9628 signatured_type *sig_type = lookup_dwo_signatured_type (cu, signature);
19599 ULONGEST signature = attr->as_signature ();
19601 return get_signatured_type (die, signature, cu);
20285 /* Follow reference or signature attribute ATTR of SRC_DIE.
20783 ULONGEST signature = attr->as_signature ();
20789 sig_type = lookup_signatured_type (*ref_cu, signature);
20796 hex_string (signature), sect_offset_str (src_die->sect_off),
20806 hex_string (signature), sect_offset_str (src_die->sect_off),
20817 get_signatured_type (struct die_info *die, ULONGEST signature,
20826 sig_type = lookup_signatured_type (cu, signature);
20833 hex_string (signature), sect_offset_str (die->sect_off),
20855 hex_string (signature), sect_offset_str (die->sect_off),
20864 hex_string (signature), sect_offset_str (die->sect_off),