[all-commits] [llvm/llvm-project] 745ea6: [lldb] Implement delayed breakpoints

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Mon Apr 27 10:55:31 PDT 2026


  Branch: refs/heads/users/felipepiovezan/delayed_bps_p3
  Home:   https://github.com/llvm/llvm-project
  Commit: 745ea612196a8daf037fa26a137c309fdf19e71f
      https://github.com/llvm/llvm-project/commit/745ea612196a8daf037fa26a137c309fdf19e71f
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
    M lldb/source/Plugins/Process/scripted/ScriptedThread.cpp
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/TargetProperties.td
    M lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp

  Log Message:
  -----------
  [lldb] Implement delayed breakpoints

This patch changes the Process class so that it delays *physically*
enabling/disabling breakpoints until the process is about to
resume/detach/be destroyed, potentially reducing the packets transmitted
by batching all breakpoints together.

Most classes only need to know whether a breakpoint is "logically"
enabled, as opposed to "physically" enabled (i.e. the remote server has
actually enabled the breakpoint). However, lower level classes like
derived Process classes, or StopInfo may actually need to know whether
the breakpoint was physically enabled. As such, this commit also adds a
"IsPhysicallyEnabled" API.

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


  Commit: f534e4802d7190dcf4cde9e979246a9e19dcf48c
      https://github.com/llvm/llvm-project/commit/f534e4802d7190dcf4cde9e979246a9e19dcf48c
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/TargetProperties.td

  Log Message:
  -----------
  fixup! review comments


  Commit: cbc8a4ab81a5f7c126c281b4d28035ad4d7e99eb
      https://github.com/llvm/llvm-project/commit/cbc8a4ab81a5f7c126c281b4d28035ad4d7e99eb
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M lldb/include/lldb/Target/Process.h

  Log Message:
  -----------
  fixup! make iteration order independent of pointers


Compare: https://github.com/llvm/llvm-project/compare/84d12c821656...cbc8a4ab81a5

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