[Lldb-commits] [lldb] [lldb][ELF] Move address class map into the symbol table (PR #91603)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri May 10 01:23:55 PDT 2024


================
@@ -23,6 +23,8 @@ class Symtab {
 public:
   typedef std::vector<uint32_t> IndexCollection;
   typedef UniqueCStringMap<uint32_t> NameToIndexMap;
+  typedef std::map<lldb::addr_t, lldb_private::AddressClass>
+      FileAddressToAddressClassMap;
----------------
DavidSpickett wrote:

Yes, we binary search it later. I will at least add a comment to explain the type choice.

https://github.com/llvm/llvm-project/pull/91603


More information about the lldb-commits mailing list