[all-commits] [llvm/llvm-project] 0cea54: [lldb][NFCI] Remove EventData* param from Broadcas...
Alex Langford via All-commits
all-commits at lists.llvm.org
Mon Jan 22 10:46:32 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0cea54a382f3187acbe3e81bd0fd7cf2cb1077b8
https://github.com/llvm/llvm-project/commit/0cea54a382f3187acbe3e81bd0fd7cf2cb1077b8
Author: Alex Langford <alangford at apple.com>
Date: 2024-01-22 (Mon, 22 Jan 2024)
Changed paths:
M lldb/include/lldb/Breakpoint/Watchpoint.h
M lldb/include/lldb/Utility/Broadcaster.h
M lldb/source/Breakpoint/BreakpointList.cpp
M lldb/source/Breakpoint/BreakpointLocation.cpp
M lldb/source/Breakpoint/Watchpoint.cpp
M lldb/source/Breakpoint/WatchpointList.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Target/Process.cpp
M lldb/source/Target/Target.cpp
M lldb/source/Target/Thread.cpp
M lldb/source/Target/ThreadList.cpp
M lldb/source/Utility/Broadcaster.cpp
Log Message:
-----------
[lldb][NFCI] Remove EventData* param from BroadcastEvent (#78773)
BroadcastEvent currently takes its EventData* param and shoves it into
an Event object, which takes ownership of the pointer and places it into
a shared_ptr to manage the lifetime.
Instead of relying on `new` and passing raw pointers around, I think it
would make more sense to create the shared_ptr up front.
More information about the All-commits
mailing list