diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2025-06-26 18:44:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-26 16:44:19 -0700 |
commit | 76f3cc9e045330466acc7bea852c3b8e71343397 (patch) | |
tree | 4db3e31a86af55b8b590a45faac29ce75bc396f6 /lldb/source/Commands/CommandObjectScripting.cpp | |
parent | 018548ddffeaa0bd878aabe2ebcc8d4946774aa9 (diff) | |
download | llvm-76f3cc9e045330466acc7bea852c3b8e71343397.zip llvm-76f3cc9e045330466acc7bea852c3b8e71343397.tar.gz llvm-76f3cc9e045330466acc7bea852c3b8e71343397.tar.bz2 |
[lldb] Fix another race condition in Target::GetExecutableModule (#145991)
c72c0b298c13 fixed a race condition in Target::GetExecutableModule. The
patch originally added the lock_guard but I suggested using the locking
ModuleList::Modules() helper instead. That didn't consider that the
fallback would still access the ModuleList without holding the lock.
This patch fixes the remaining issue.
Diffstat (limited to 'lldb/source/Commands/CommandObjectScripting.cpp')
0 files changed, 0 insertions, 0 deletions