[Lldb-commits] [lldb] When running OS Plugins from dSYM's, make sure start state is correct (PR #146441)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 1 11:14:51 PDT 2025
================
@@ -3144,16 +3144,17 @@ void Process::CompleteAttach() {
}
}
- if (!m_os_up) {
+ if (!m_os_up)
LoadOperatingSystemPlugin(false);
- if (m_os_up) {
- // Somebody might have gotten threads before now, but we need to force the
- // update after we've loaded the OperatingSystem plugin or it won't get a
- // chance to process the threads.
- m_thread_list.Clear();
- UpdateThreadListIfNeeded();
- }
+
+ if (m_os_up) {
----------------
JDevlieghere wrote:
My first instinct here was "should this be an else" before I realized that `LoadOperatingSystemPlugin` probably initializes `m_os_up`. Might be wroth a comment.
https://github.com/llvm/llvm-project/pull/146441
More information about the lldb-commits
mailing list