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.
Details
Details
- Reviewers
vsk JDevlieghere - Group Reviewers
Restricted Project - Commits
- rGba51da820e4d: [lldb] Add missing mutex guards to TargetList::CreateTarget
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo