Home
last modified time | relevance | path

Searched refs:listener_sp (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DBroadcaster.cpp132 const lldb::ListenerSP &listener_sp, uint32_t requested_events) {} in AddInitialEventsToListener() argument
135 Broadcaster::BroadcasterImpl::AddListener(const lldb::ListenerSP &listener_sp, in AddListener() argument
137 if (!listener_sp) in AddListener()
146 if (listener_sp == m_primary_listener_sp) in AddListener()
151 if (pair.first == listener_sp) { in AddListener()
154 m_broadcaster.AddInitialEventsToListener(listener_sp, event_mask); in AddListener()
162 std::make_pair(lldb::ListenerWP(listener_sp), event_mask)); in AddListener()
166 m_broadcaster.AddInitialEventsToListener(listener_sp, event_mask); in AddListener()
223 const lldb::ListenerSP &listener_sp, uint32_t event_mask) { in RemoveListener() argument
224 return RemoveListener(listener_sp.get(), event_mask); in RemoveListener()
[all …]
H A DEvent.cpp96 for (auto listener_sp : m_pending_listeners) in DoOnRemoval() local
97 listener_sp->AddEvent(me_sp); in DoOnRemoval()
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DBroadcaster.h95 void RemoveListener(const lldb::ListenerSP &listener_sp);
103 RegisterListenerForEventsNoLock(const lldb::ListenerSP &listener_sp,
106 bool UnregisterListenerForEventsNoLock(const lldb::ListenerSP &listener_sp,
191 virtual void AddInitialEventsToListener(const lldb::ListenerSP &listener_sp,
213 uint32_t AddListener(const lldb::ListenerSP &listener_sp, in AddListener() argument
215 return m_broadcaster_sp->AddListener(listener_sp, event_mask); in AddListener()
271 bool RemoveListener(const lldb::ListenerSP &listener_sp,
273 return m_broadcaster_sp->RemoveListener(listener_sp, event_mask);
294 bool HijackBroadcaster(const lldb::ListenerSP &listener_sp,
296 return m_broadcaster_sp->HijackBroadcaster(listener_sp, event_mask);
[all …]
H A DProcessInfo.h104 void SetListener(const lldb::ListenerSP &listener_sp) { in SetListener() argument
105 m_listener_sp = listener_sp; in SetListener()
110 void SetHijackListener(const lldb::ListenerSP &listener_sp) { in SetHijackListener() argument
111 m_hijack_listener_sp = listener_sp; in SetHijackListener()
116 void SetShadowListener(const lldb::ListenerSP &listener_sp) { in SetShadowListener() argument
117 m_shadow_listener_sp = listener_sp; in SetShadowListener()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DProcessTrace.cpp34 ListenerSP listener_sp, in CreateInstance() argument
39 return std::make_shared<ProcessTrace>(target_sp, listener_sp, *crash_file); in CreateInstance()
46 ProcessTrace::ProcessTrace(TargetSP target_sp, ListenerSP listener_sp, in ProcessTrace() argument
48 : PostMortemProcess(target_sp, listener_sp, core_file) {} in ProcessTrace()
60 ListenerSP listener_sp( in DidAttach() local
62 HijackProcessEvents(listener_sp); in DidAttach()
69 WaitForProcessToStop(std::nullopt, &event_sp, true, listener_sp); in DidAttach()
H A DProcess.cpp401 ListenerSP listener_sp, in FindPlugin() argument
412 process_sp = create_callback(target_sp, listener_sp, crash_file_path, in FindPlugin()
426 process_sp = create_callback(target_sp, listener_sp, crash_file_path, in FindPlugin()
445 Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp) in Process() argument
446 : Process(target_sp, listener_sp, UnixSignals::CreateForHost()) { in Process()
451 Process::Process(lldb::TargetSP target_sp, ListenerSP listener_sp, in Process() argument
505 SetPrimaryListener(listener_sp); in Process()
983 bool Process::HijackProcessEvents(ListenerSP listener_sp) { in HijackProcessEvents() argument
984 if (listener_sp) { in HijackProcessEvents()
985 return HijackBroadcaster(listener_sp, eBroadcastBitStateChanged | in HijackProcessEvents()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSDKernel/
H A DProcessFreeBSDKernel.cpp70 ListenerSP listener_sp, in ProcessFreeBSDKernel() argument
72 : PostMortemProcess(target_sp, listener_sp, core_file) {} in ProcessFreeBSDKernel()
75 ListenerSP listener_sp, in CreateInstance() argument
85 return std::make_shared<ProcessFreeBSDKernelFVC>(target_sp, listener_sp, in CreateInstance()
94 return std::make_shared<ProcessFreeBSDKernelKVM>(target_sp, listener_sp, in CreateInstance()
284 ListenerSP listener_sp, in ProcessFreeBSDKernelFVC() argument
287 : ProcessFreeBSDKernel(target_sp, listener_sp, crash_file), m_fvc(fvc) {} in ProcessFreeBSDKernelFVC()
312 ListenerSP listener_sp, in ProcessFreeBSDKernelKVM() argument
315 : ProcessFreeBSDKernel(target_sp, listener_sp, core_file), m_kvm(fvc) {} in ProcessFreeBSDKernelKVM()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DThreadedCommunication.cpp108 ListenerSP listener_sp( in Read() local
110 listener_sp->StartListeningForEvents( in Read()
127 if (!listener_sp->GetEvent(event_sp, timeout)) { in Read()
356 ListenerSP listener_sp(Listener::MakeListener( in SynchronizeWithReadThread() local
358 listener_sp->StartListeningForEvents(this, eBroadcastBitNoMorePendingInput); in SynchronizeWithReadThread()
369 listener_sp->GetEvent(event_sp, std::nullopt); in SynchronizeWithReadThread()
H A DDebugger.cpp1879 void Debugger::EnableForwardEvents(const ListenerSP &listener_sp) { in EnableForwardEvents() argument
1880 m_forward_listener_sp = listener_sp; in EnableForwardEvents()
1883 void Debugger::CancelForwardEvents(const ListenerSP &listener_sp) { in CancelForwardEvents() argument
1888 ListenerSP listener_sp(GetListener()); in DefaultEventHandler() local
1904 listener_sp->StartListeningForEventSpec(m_broadcaster_manager_sp, in DefaultEventHandler()
1906 listener_sp->StartListeningForEventSpec(m_broadcaster_manager_sp, in DefaultEventHandler()
1908 listener_sp->StartListeningForEventSpec(m_broadcaster_manager_sp, in DefaultEventHandler()
1910 listener_sp->StartListeningForEvents( in DefaultEventHandler()
1916 listener_sp->StartListeningForEvents( in DefaultEventHandler()
1928 if (listener_sp->GetEvent(event_sp, std::nullopt)) { in DefaultEventHandler()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DPostMortemProcess.h27 PostMortemProcess(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp, in PostMortemProcess() argument
29 : Process(target_sp, listener_sp), m_core_file(core_file) {} in PostMortemProcess()
H A DProcessTrace.h30 ProcessTrace(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
77 lldb::ListenerSP listener_sp,
H A DProcess.h514 lldb::ListenerSP listener_sp,
2322 ProcessEventHijacker(Process &process, lldb::ListenerSP listener_sp) in ProcessEventHijacker() argument
2324 m_process.HijackProcessEvents(std::move(listener_sp)); in ProcessEventHijacker()
2348 bool HijackProcessEvents(lldb::ListenerSP listener_sp);
2704 Process(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp);
2708 Process(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBListener.cpp44 SBListener::SBListener(const lldb::ListenerSP &listener_sp) in SBListener() argument
45 : m_opaque_sp(listener_sp) {} in SBListener()
292 void SBListener::reset(ListenerSP listener_sp) { in reset() argument
293 m_opaque_sp = listener_sp; in reset()
/freebsd/contrib/llvm-project/lldb/include/lldb/API/
H A DSBListener.h91 SBListener(const lldb::ListenerSP &listener_sp);
100 void reset(lldb::ListenerSP listener_sp);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.h32 lldb::ListenerSP listener_sp,
44 ProcessMinidump(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
H A DProcessMinidump.cpp123 lldb::ListenerSP listener_sp, in CreateInstance() argument
146 return std::make_shared<ProcessMinidump>(target_sp, listener_sp, *crash_file, in CreateInstance()
156 lldb::ListenerSP listener_sp, in ProcessMinidump() argument
159 : PostMortemProcess(target_sp, listener_sp, core_file), in ProcessMinidump()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/scripted/
H A DScriptedProcess.h26 lldb::ListenerSP listener_sp,
106 ScriptedProcess(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
H A DScriptedProcess.cpp51 lldb::ListenerSP listener_sp, in CreateInstance() argument
62 new ScriptedProcess(target_sp, listener_sp, scripted_metadata, error)); in CreateInstance()
78 lldb::ListenerSP listener_sp, in ScriptedProcess() argument
81 : Process(target_sp, listener_sp), m_scripted_metadata(scripted_metadata) { in ScriptedProcess()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.h34 CreateInstance(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
47 ProcessElfCore(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
H A DProcessElfCore.cpp51 lldb::ListenerSP listener_sp, in CreateInstance() argument
74 process_sp = std::make_shared<ProcessElfCore>(target_sp, listener_sp, in CreateInstance()
100 lldb::ListenerSP listener_sp, in ProcessElfCore() argument
102 : PostMortemProcess(target_sp, listener_sp, core_file) {} in ProcessElfCore()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp397 ListenerSP listener_sp = attach_info.GetHijackListener(); in Attach() local
398 if (listener_sp == nullptr) { in Attach()
399 listener_sp = in Attach()
401 attach_info.SetHijackListener(listener_sp); in Attach()
403 process_sp->HijackProcessEvents(listener_sp); in Attach()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp522 ListenerSP listener_sp = attach_info.GetHijackListener(); in Attach() local
523 if (listener_sp) in Attach()
524 process_sp->HijackProcessEvents(listener_sp); in Attach()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.h57 lldb::ListenerSP listener_sp,
248 ProcessGDBRemote(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp);
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDebugger.h373 void EnableForwardEvents(const lldb::ListenerSP &listener_sp);
375 void CancelForwardEvents(const lldb::ListenerSP &listener_sp);
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-private-interfaces.h81 lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,

12