[all-commits] [llvm/llvm-project] 68edb9: [lldb] Fix trace load hang (#187768)

Tom Hewitt via All-commits all-commits at lists.llvm.org
Tue Mar 24 11:09:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68edb9f3c0dcb79a6222afc92d31bded7fba8449
      https://github.com/llvm/llvm-project/commit/68edb9f3c0dcb79a6222afc92d31bded7fba8449
  Author: Tom Hewitt <tom at tom-hewitt.com>
  Date:   2026-03-24 (Tue, 24 Mar 2026)

  Changed paths:
    M lldb/source/Target/ProcessTrace.cpp
    M lldb/unittests/Process/ProcessTraceTest.cpp

  Log Message:
  -----------
  [lldb] Fix trace load hang (#187768)

#179799 removed the `SetPrivateState(eStateStopped)` call in
`ProcessTrace::DidAttach()`. This makes the call to
`WaitForProcessToStop` hang forever, causing the `trace load` command to
hang.

This fix reintroduces the `SetPrivateState` call so a postmortem trace
process will "stop" after being loaded, matching the logic used in
`Process::LoadCore()`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list