================
@@ -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;
----------------
clayborg wrote:

You might want to use a llvm::DenseMap if possible. std::map uses 3 pointers 
for the red/black tree implementation and DenseMap is much more efficient I 
believe.

https://github.com/llvm/llvm-project/pull/91603
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to