[Lldb-commits] [PATCH] D62562: [Target] Introduce Process::GetLanguageRuntimes

2019-05-29 Thread Alex Langford via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rLLDB361999: [Target] Introduce Process::GetLanguageRuntimes (authored by xiaobai, committed by ). Herald added a project: LLDB. Changed prior to commit:

[Lldb-commits] [PATCH] D62562: [Target] Introduce Process::GetLanguageRuntimes

2019-05-29 Thread Jim Ingham via Phabricator via lldb-commits
jingham accepted this revision. jingham added a comment. This revision is now accepted and ready to land. LGTM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62562/new/ https://reviews.llvm.org/D62562 ___ lldb-commits mailing list

[Lldb-commits] [PATCH] D62562: [Target] Introduce Process::GetLanguageRuntimes

2019-05-29 Thread Alex Langford via Phabricator via lldb-commits
xiaobai updated this revision to Diff 201959. xiaobai added a comment. Address review feedback CHANGES SINCE LAST ACTION https://reviews.llvm.org/D62562/new/ https://reviews.llvm.org/D62562 Files: include/lldb/Target/Language.h include/lldb/Target/Process.h source/Target/Language.cpp

[Lldb-commits] [PATCH] D62562: [Target] Introduce Process::GetLanguageRuntimes

2019-05-29 Thread Pavel Labath via Phabricator via lldb-commits
labath added inline comments. Comment at: source/Target/Process.cpp:1565 + for (const lldb::LanguageType lang_type : Language::GetSupportedLanguages()) { +if (auto runtime = GetLanguageRuntime(lang_type, retry_if_null)) +

[Lldb-commits] [PATCH] D62562: [Target] Introduce Process::GetLanguageRuntimes

2019-05-28 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added inline comments. Comment at: source/Target/Thread.cpp:2216 + GetProcess()->GetLanguageRuntimes(); + for (LanguageRuntime *runtime : language_runtimes) { +if (!runtime) if ` for (LanguageRuntime *runtime :

[Lldb-commits] [PATCH] D62562: [Target] Introduce Process::GetLanguageRuntimes

2019-05-28 Thread Alex Langford via Phabricator via lldb-commits
xiaobai created this revision. xiaobai added reviewers: JDevlieghere, davide, jingham. Currently there's not really a good way to iterate over the language runtimes a process has. This is sometimes desirable (as seen in my change to Thread). Additionally, there's not really a good reason to