[all-commits] [llvm/llvm-project] 76f3cc: [lldb] Fix another race condition in Target::GetEx...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Thu Jun 26 16:44:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 76f3cc9e045330466acc7bea852c3b8e71343397
https://github.com/llvm/llvm-project/commit/76f3cc9e045330466acc7bea852c3b8e71343397
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M lldb/source/Target/Target.cpp
Log Message:
-----------
[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.
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