summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2021-05-24 19:16:40 +0200
committerRaphael Isemann <teemperor@gmail.com>2021-05-24 19:49:57 +0200
commitba51da820e4dc73153009f8a621ef49711294ae1 (patch)
tree4d820c3b64e3e6b57517712f849fc9084fc5dea4 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4ab3041acbdc274050d6c53f72619c7455cbc97a (diff)
[lldb] Add missing mutex guards to TargetList::CreateTarget
TestMultipleTargets is randomly failing on the bots. The reason for that is that the test is calling `SBDebugger::CreateTarget` from multiple threads. `TargetList::CreateTarget` is curiously missing the guard that all of its other member functions have, so all the threads in the test end up changing the internal TargetList state at the same time and end up corrupting it. Reviewed By: vsk, JDevlieghere Differential Revision: https://reviews.llvm.org/D103020
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions