[all-commits] [llvm/llvm-project] 1a81f3: [lldb] Implement delayed breakpoints

Felipe de Azevedo Piovezan via All-commits all-commits at lists.llvm.org
Wed Apr 29 03:04:19 PDT 2026


  Branch: refs/heads/users/felipepiovezan/delayed_bps_p3
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a81f3ba4f55802e471b35400a6b959dbf560240
      https://github.com/llvm/llvm-project/commit/1a81f3ba4f55802e471b35400a6b959dbf560240
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-04-29 (Wed, 29 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: 6e13041468c247b6aeb763c45e8bd4f10f0aa4f9
      https://github.com/llvm/llvm-project/commit/6e13041468c247b6aeb763c45e8bd4f10f0aa4f9
  Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

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

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


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

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

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


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

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

  Log Message:
  -----------
  fixup! fix order of class declaration


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

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

  Log Message:
  -----------
  fixup! don't enqueue actions that won't change the site status


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

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

  Log Message:
  -----------
  fixup! Remove delayed breakpoints


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

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

  Log Message:
  -----------
  fixup! fix typos


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

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp

  Log Message:
  -----------
  fixup! use Error instead of Status


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

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

  Log Message:
  -----------
  fixup! cosmetic changes


Compare: https://github.com/llvm/llvm-project/compare/73c948b69b49...eb4568c3e569

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