diff --git a/lldb/source/Symbol/Symtab.cpp b/lldb/source/Symbol/Symtab.cpp --- a/lldb/source/Symbol/Symtab.cpp +++ b/lldb/source/Symbol/Symtab.cpp @@ -80,8 +80,7 @@ } void Symtab::SectionFileAddressesChanged() { - auto &name_to_index = GetNameToSymbolIndexMap(lldb::eFunctionNameTypeNone); - name_to_index.Clear(); + m_file_addr_to_index.Clear(); m_file_addr_to_index_computed = false; }