[Lldb-commits] [lldb] [lldb] Make sure the process is stopped when computing the symbol context (PR #134757)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 10 17:19:07 PDT 2025


JDevlieghere wrote:

Thanks for the report, @cmtice. I haven't seen this issue and I'm pretty baffled. I wonder if it has something to do with the implementation of GetRunLock:

```
ProcessRunLock &Process::GetRunLock() {
  if (m_private_state_thread.EqualsThread(Host::GetCurrentThread()))
    return m_private_run_lock;
  else
    return m_public_run_lock;
}
```

I presume that somehow we end up in situation where one is locked and the other is not. I'll try to do some investigating. 

https://github.com/llvm/llvm-project/pull/134757


More information about the lldb-commits mailing list