[Lldb-commits] [PATCH] D152579: [lldb] Symtab::SectionFileAddressesChanged should clear the file address map instead of name map

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 15 14:48:26 PDT 2023


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;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152579.531914.patch
Type: text/x-patch
Size: 427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230615/711c0ff4/attachment-0001.bin>


More information about the lldb-commits mailing list