[all-commits] [llvm/llvm-project] 036f5c: [lldb] Reimplement LineTable::FindLineEntryByAddre...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Feb 27 00:56:57 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 036f5c0f58d362ad5d28400ccbbecdb3aa6d3133
      https://github.com/llvm/llvm-project/commit/036f5c0f58d362ad5d28400ccbbecdb3aa6d3133
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M lldb/source/Symbol/LineTable.cpp

  Log Message:
  -----------
  [lldb] Reimplement LineTable::FindLineEntryByAddress on top of lower_bound (#127799)

I *think* this should be equivalent to the original implementation for
all line tables occurring in practice. One difference I'm aware of is
that the original implementation tried to return the first line entry
out of multiple ones for the same address. However, this is not possible
(anymore?) because of the check in LineTable::AppendLineEntryToSequence.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list