[Lldb-commits] [lldb] [lldb] Use the first address range as the function address (PR #122440)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 10 08:05:33 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);
----------------
DavidSpickett wrote:
And it does seem like mixing concerns, even if all we supported was DWARF. Might as well be explicit about the choice of entry point.
https://github.com/llvm/llvm-project/pull/122440
More information about the lldb-commits
mailing list