[all-commits] [llvm/llvm-project] 08de32: [lldb] Remove Function::GetAddressRange usage from...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Mar 13 01:21:57 PDT 2025


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

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [lldb] Remove Function::GetAddressRange usage from the gui (#130991)

m_disassembly_range was used only to prune the list of breakpoints to
those that are in the current function. This isn't really necessary, as
the list is only used to highlight instructions with breakpoints on
them, and an unpruned list works just as well for that.

The shouldn't make things slower, since we still needed through iterate
through all breakpoints to create the list, and I doubt anyone will
notice the memory used to store the extra breakpoints.



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