[all-commits] [llvm/llvm-project] 298cae: [lldb] Fix Block::GetRangeIndexContainingAddress f...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Feb 13 01:08:38 PST 2025


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

  Changed paths:
    M lldb/source/Symbol/Block.cpp
    M lldb/test/Shell/ScriptInterpreter/Python/sb_function_ranges.s

  Log Message:
  -----------
  [lldb] Fix Block::GetRangeIndexContainingAddress for discontinuous functions (#124931)

This is a followup to #122440, which changed function-relative
calculations to use the function entry point rather than the lowest
address of the function (but missed this usage). Like in #116777, the
logic is changed to use file addresses instead of section offsets (as
not all parts of the function have to be in the same section).



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