HomePhabricator

[llvm] Protect signpost map with a mutex

Authored by JDevlieghere on Jan 19 2021, 11:37 AM.

Description

[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

Details

Committed
JDevlieghereJan 19 2021, 11:41 AM
Differential Revision
D94285: [llvm] Protect signpost map with a mutex
Parents
rG6ac9cb2a7c6c: [libc++][P1679] add string contains
Branches
Unknown
Tags
Unknown