20 void InstrumentationRuntime::ModulesDidLoad(
24 InstrumentationRuntimeGetType get_type_callback;
27 PluginManager::GetInstrumentationRuntimeCreateCallbackAtIndex(idx);
28 if (create_callback ==
nullptr)
31 PluginManager::GetInstrumentationRuntimeGetTypeCallbackAtIndex(idx);
34 InstrumentationRuntimeCollection::iterator pos;
35 pos = runtimes.find(type);
36 if (pos == runtimes.end()) {
37 runtimes[type] = create_callback(process->shared_from_this());
42 void InstrumentationRuntime::ModulesDidLoad(
47 if (GetRuntimeModuleSP()) {
52 module_list.
ForEach([
this](
const lldb::ModuleSP module_sp) ->
bool {
53 const FileSpec &file_spec = module_sp->GetFileSpec();
59 module_sp->IsExecutable()) {
60 if (CheckIfRuntimeIsValid(module_sp)) {
61 SetRuntimeModuleSP(module_sp);
71 lldb::ThreadCollectionSP
72 InstrumentationRuntime::GetBacktracesFromExtendedStopInfo(