[Lldb-commits] [lldb] [lldb] Use the first address range as the function address (PR #122440)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 10 11:20:55 PST 2025


================
@@ -428,7 +428,7 @@ class Function : public UserID, public SymbolContextScope {
   ///     The section offset based address for this function.
   Function(CompileUnit *comp_unit, lldb::user_id_t func_uid,
            lldb::user_id_t func_type_uid, const Mangled &mangled,
-           Type *func_type, AddressRanges ranges);
+           Type *func_type, Address address, AddressRanges ranges);
----------------
clayborg wrote:

Do we want to call this `base_address`?

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


More information about the lldb-commits mailing list