mirror of
https://github.com/intel/llvm.git
synced 2026-01-31 16:29:50 +08:00
Change over the broadcaster/listener process to hold shared or weak pointers
to each other. This should remove some infrequent teardown crashes when the listener is not the debugger's listener. Processes now need to take a ListenerSP, not a Listener&. This required changing over the Process plugin class constructors to take a ListenerSP, instead of a Listener&. Other than that there should be no functional change. <rdar://problem/24580184> CrashTracer: [USER] Xcode at …ework: lldb_private::Listener::BroadcasterWillDestruct + 39 llvm-svn: 262863
This commit is contained in:
@@ -29,8 +29,8 @@ namespace lldb_private
|
||||
//------------------------------------------------------------------------------
|
||||
// Constructors and destructors.
|
||||
|
||||
ProcessWindows::ProcessWindows(lldb::TargetSP target_sp, Listener &listener)
|
||||
: lldb_private::Process(target_sp, listener)
|
||||
ProcessWindows::ProcessWindows(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp)
|
||||
: lldb_private::Process(target_sp, listener_sp)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user