From 583bbb1dd46e1665c2d5f31d4e4772bf6207c1c0 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Mon, 7 Mar 2016 21:50:25 +0000 Subject: 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. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. CrashTracer: [USER] Xcode at …ework: lldb_private::Listener::BroadcasterWillDestruct + 39 llvm-svn: 262863 --- lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h') diff --git a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h index 2a437c0ca90..0ee42e2ae1f 100644 --- a/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h +++ b/lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h @@ -25,7 +25,7 @@ public: // Constructors and destructors //------------------------------------------------------------------ ProcessWindows(lldb::TargetSP target_sp, - lldb_private::Listener &listener); + lldb::ListenerSP listener_sp); ~ProcessWindows(); -- cgit v1.2.3