[all-commits] [llvm/llvm-project] 6bac76: [lldb] Refactor LLDB Breakpoint Event Notification...

Piyush Jaiswal via All-commits all-commits at lists.llvm.org
Fri Oct 31 13:06:57 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bac76bf2714784b6ab9757cdbddbfcd5288a05e
      https://github.com/llvm/llvm-project/commit/6bac76bf2714784b6ab9757cdbddbfcd5288a05e
  Author: Piyush Jaiswal <piyushjais98 at gmail.com>
  Date:   2025-10-31 (Fri, 31 Oct 2025)

  Changed paths:
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Breakpoint/Breakpoint.cpp
    M lldb/source/Breakpoint/BreakpointList.cpp
    M lldb/source/Breakpoint/BreakpointLocation.cpp
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb] Refactor LLDB Breakpoint Event Notifications to centralize and eliminate code duplication (#164739)

### Summary

This PR refactors breakpoint event notification in LLDB to centralize
and eliminate code duplication. It creates a unified method in the
`Target` class for sending breakpoint change events. The new methods
check if listeners exist before broadcasting events

### Test

<img width="1532" height="76" alt="Screenshot 2025-10-23 at 12 49 31 PM"
src="https://github.com/user-attachments/assets/6d6a6da6-9684-463c-aeeb-90663cdbd077"
/>

---------

Co-authored-by: Piyush Jaiswal <piyushjais at meta.com>



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