================ @@ -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) { + assert(func_addr.GetModule()); + return AddressRange(func_addr.GetFileAddress() + range.base, range.size, ---------------- DavidSpickett wrote:
what exactly is `func_addr.GetFileAddress()` going to return? The entry point of the function, as an offset to the address of the file it's contained in, or the lowest address contained within the function? https://github.com/llvm/llvm-project/pull/137955 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits