[all-commits] [llvm/llvm-project] a4b42c: [llvm] Protect signpost map with a mutex
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Tue Jan 19 11:47:19 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a4b42c621b9e2009cfd8bc9265bbf970c7231271
https://github.com/llvm/llvm-project/commit/a4b42c621b9e2009cfd8bc9265bbf970c7231271
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2021-01-19 (Tue, 19 Jan 2021)
Changed paths:
M llvm/lib/Support/Signposts.cpp
Log Message:
-----------
[llvm] Protect signpost map with a mutex
Use a mutex to protect concurrent access to the signpost map. This fixes
nondeterministic crashes in LLDB that appeared after using signposts in
the timer implementation.
Differential revision: https://reviews.llvm.org/D94285
More information about the All-commits
mailing list