diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-07-25 18:03:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-25 18:03:09 -0700 |
commit | e76780b9da76295f88cb24817e9384b88e6416dc (patch) | |
tree | 8bfa54e6a7ffc1bad67fc0e8f1dd575c5b6f6bff /llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp | |
parent | 676314a85f15a090ed0e7b8ce8fcebd61516faee (diff) | |
download | llvm-e76780b9da76295f88cb24817e9384b88e6416dc.zip llvm-e76780b9da76295f88cb24817e9384b88e6416dc.tar.gz llvm-e76780b9da76295f88cb24817e9384b88e6416dc.tar.bz2 |
[lldb] Protect the selected frame idx in StackFrameList (#150718)
Protected m_selected_frame_idx with a mutex. To avoid deadlocks, always acquire m_selected_frame_mutex after m_list_mutex. I'm using a recursive mutex because GetSelectedFrameIndex may indirectly call SetSelectedFrame.
Diffstat (limited to 'llvm/unittests/ExecutionEngine/Orc/ThreadSafeModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions