diff options
Diffstat (limited to 'source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h')
-rw-r--r-- | source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h b/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h index 44a24f2756ad..ab0c37beeac9 100644 --- a/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h +++ b/source/Plugins/SymbolFile/DWARF/HashedNameToDIE.h @@ -169,7 +169,7 @@ struct DWARFMappedHash { if (return_implementation_only_if_available) { - // We found the one true definiton for this class, so + // We found the one true definition for this class, so // only return that die_offsets.clear(); die_offsets.push_back (die_info_array[i].offset); @@ -388,7 +388,7 @@ struct DWARFMappedHash } size_t - GetMinumumHashDataByteSize () const + GetMinimumHashDataByteSize () const { return min_hash_data_byte_size; } @@ -465,7 +465,7 @@ struct DWARFMappedHash break; default: - // We can always skip atomes we don't know about + // We can always skip atoms we don't know about break; } } @@ -651,11 +651,11 @@ struct DWARFMappedHash } const uint32_t count = m_data.GetU32 (hash_data_offset_ptr); - const size_t min_total_hash_data_size = count * m_header.header_data.GetMinumumHashDataByteSize(); + const size_t min_total_hash_data_size = count * m_header.header_data.GetMinimumHashDataByteSize(); if (count > 0 && m_data.ValidOffsetForDataOfSize (*hash_data_offset_ptr, min_total_hash_data_size)) { // We have at least one HashData entry, and we have enough - // data to parse at leats "count" HashData enties. + // data to parse at least "count" HashData entries. // First make sure the entire C string matches... const bool match = strcmp (name, strp_cstr) == 0; @@ -678,7 +678,7 @@ struct DWARFMappedHash DIEInfo die_info; if (m_header.Read(m_data, hash_data_offset_ptr, die_info)) { - // Only happend the HashData if the string matched... + // Only happened if the HashData of the string matched... if (match) pair.value.push_back (die_info); } @@ -724,7 +724,7 @@ struct DWARFMappedHash return eResultError; const uint32_t count = m_data.GetU32 (hash_data_offset_ptr); - const size_t min_total_hash_data_size = count * m_header.header_data.GetMinumumHashDataByteSize(); + const size_t min_total_hash_data_size = count * m_header.header_data.GetMinimumHashDataByteSize(); if (count > 0 && m_data.ValidOffsetForDataOfSize (*hash_data_offset_ptr, min_total_hash_data_size)) { const bool match = regex.Execute(strp_cstr); @@ -747,7 +747,7 @@ struct DWARFMappedHash DIEInfo die_info; if (m_header.Read(m_data, hash_data_offset_ptr, die_info)) { - // Only happend the HashData if the string matched... + // Only happened if the HashData of the string matched... if (match) pair.value.push_back (die_info); } |