This revision was automatically updated to reflect the committed changes.
Closed by commit rG8fb919a1154a: [lldb] Symtab::SectionFileAddressesChanged
should clear the file address map… (authored by bulbazord).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152579/new/
https://reviews.llvm.org/D152579
Files:
lldb/source/Symbol/Symtab.cpp
Index: lldb/source/Symbol/Symtab.cpp
===================================================================
--- lldb/source/Symbol/Symtab.cpp
+++ 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;
}
Index: lldb/source/Symbol/Symtab.cpp
===================================================================
--- lldb/source/Symbol/Symtab.cpp
+++ 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;
}
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits