15 lldb::MemoryHistorySP MemoryHistory::FindPlugin(
const ProcessSP process) {
16 MemoryHistoryCreateInstance create_callback =
nullptr;
19 (create_callback = PluginManager::GetMemoryHistoryCreateCallbackAtIndex(
22 MemoryHistorySP memory_history_sp(create_callback(process));
23 if (memory_history_sp)
24 return memory_history_sp;
27 return MemoryHistorySP();