[Lldb-commits] [PATCH] D72595: Fix lookup of symbols at the same address with no size vs. size

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 13 10:35:22 PST 2020


clayborg added inline comments.


================
Comment at: lldb/source/Symbol/Symtab.cpp:898-900
+        if (i == num_entries - 1 ||
+            m_file_addr_to_index.GetMutableEntryAtIndex(i + 1)
+                    ->GetRangeBase() != curr_base_addr) {
----------------
So if we have N symbols for address 0x1000 with size of zero and we have one with a valid size, do we leave all symbols with zero size stay with a size of zero? I was confused by the comment and wanted to clarify.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72595/new/

https://reviews.llvm.org/D72595





More information about the lldb-commits mailing list