2019-06-17 23:43:51 +00:00
|
|
|
--- a/gdb/dwarf-index-write.c
|
|
|
|
+++ b/gdb/dwarf-index-write.c
|
2019-10-14 15:37:28 +00:00
|
|
|
@@ -701,7 +701,7 @@ public:
|
2019-06-17 23:43:51 +00:00
|
|
|
gdb_assert (m_abbrev_table.empty ());
|
|
|
|
const size_t name_count = m_name_to_value_set.size ();
|
|
|
|
m_bucket_table.resize
|
|
|
|
- (std::pow (2, std::ceil (std::log2 (name_count * 4 / 3))));
|
|
|
|
+ (std::pow (2, std::ceil (log2 (name_count * 4 / 3))));
|
|
|
|
m_hash_table.reserve (name_count);
|
|
|
|
m_name_table_string_offs.reserve (name_count);
|
|
|
|
m_name_table_entry_offs.reserve (name_count);
|