[Lldb-commits] [lldb] [lldb] Fix block address resolution for functions in multiple sections (PR #137955)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 08:38:47 PDT 2025


================
@@ -283,39 +283,42 @@ uint32_t Block::GetRangeIndexContainingAddress(const Address &addr) {
   return m_ranges.FindEntryIndexThatContains(file_addr - func_file_addr);
 }
 
+static AddressRange ToAddressRange(const Address &func_addr,
+                                   const Block::Range &range) {
----------------
DavidSpickett wrote:

Name this block_range, too many ranges to be keeping track of here.

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


More information about the lldb-commits mailing list