/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Broadcaster.cpp | 132 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 D | Event.cpp | 96 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 D | Broadcaster.h | 95 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 D | ProcessInfo.h | 104 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 D | ProcessTrace.cpp | 34 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 D | Process.cpp | 401 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 D | ProcessFreeBSDKernel.cpp | 70 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 D | ThreadedCommunication.cpp | 108 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 D | Debugger.cpp | 1879 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 D | PostMortemProcess.h | 27 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 D | ProcessTrace.h | 30 ProcessTrace(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp, 77 lldb::ListenerSP listener_sp,
|
H A D | Process.h | 514 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 D | SBListener.cpp | 44 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 D | SBListener.h | 91 SBListener(const lldb::ListenerSP &listener_sp); 100 void reset(lldb::ListenerSP listener_sp);
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | ProcessMinidump.h | 32 lldb::ListenerSP listener_sp, 44 ProcessMinidump(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
|
H A D | ProcessMinidump.cpp | 123 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 D | ScriptedProcess.h | 26 lldb::ListenerSP listener_sp, 106 ScriptedProcess(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
|
H A D | ScriptedProcess.cpp | 51 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 D | ProcessElfCore.h | 34 CreateInstance(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp, 47 ProcessElfCore(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
|
H A D | ProcessElfCore.cpp | 51 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 D | PlatformPOSIX.cpp | 397 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 D | PlatformRemoteGDBServer.cpp | 522 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 D | ProcessGDBRemote.h | 57 lldb::ListenerSP listener_sp, 248 ProcessGDBRemote(lldb::TargetSP target_sp, lldb::ListenerSP listener_sp);
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | Debugger.h | 373 void EnableForwardEvents(const lldb::ListenerSP &listener_sp); 375 void CancelForwardEvents(const lldb::ListenerSP &listener_sp);
|
/freebsd/contrib/llvm-project/lldb/include/lldb/ |
H A D | lldb-private-interfaces.h | 81 lldb::TargetSP target_sp, lldb::ListenerSP listener_sp,
|