19 for (uint32_t idx = 0;
23 std::unique_ptr<SystemRuntime> instance_up(create_callback(process));
25 return instance_up.release();
A uniqued constant string class.
A collection class for Module objects.
static SystemRuntimeCreateInstance GetSystemRuntimeCreateCallbackAtIndex(uint32_t idx)
A plug-in interface definition class for debugging a process.
A plug-in interface definition class for system runtimes.
virtual void DidAttach()
Called after attaching to a process.
virtual lldb::ThreadSP GetExtendedBacktraceThread(lldb::ThreadSP thread, ConstString type)
Return a Thread which shows the origin of this thread's creation.
virtual void Detach()
Called before detaching from a process.
SystemRuntime(Process *process)
Construct with a process.
void ModulesDidLoad(const ModuleList &module_list) override
Called when modules have been loaded in the process.
virtual const std::vector< ConstString > & GetExtendedBacktraceTypes()
Return a list of thread origin extended backtraces that may be available.
std::vector< ConstString > m_types
virtual void DidLaunch()
Called after launching a process.
~SystemRuntime() override
Destructor.
static SystemRuntime * FindPlugin(Process *process)
Find a system runtime plugin for a given process.
A class that represents a running process on the host machine.
SystemRuntime *(* SystemRuntimeCreateInstance)(Process *process)
std::shared_ptr< lldb_private::Thread > ThreadSP