36 std::uintptr_t offset,
37 std::vector<std::uint8_t>
data,
38 coff::section_header_t* scn,
40 std::vector<recomp::reloc_t> relocs,
47 m_sym_type(dcmp_type),
61 return m_allocated_at;
101 return std::hash<std::string>{}(
sym);
105 if (
sym->has_section() &&
106 sym->storage_class == coff::storage_class_id::private_symbol &&
107 sym->derived_type == coff::derived_type_id::none) {
108 auto scn =
img->get_section(
sym->section_index - 1);
109 auto res = std::string(
scn->name.to_string(
img->get_strings()).data())
111 .append(std::to_string(
sym->section_index))
113 .append(std::to_string(
img->file_header.timedate_stamp))
115 .append(std::to_string(
sym->value));
119 return std::string(
sym->name.to_string(
img->get_strings()));