Changes from Git (git http://labmaster3.local/git/llvm-project.git)


  1. [lldb][NFC] Remove ThreadSafeSTLVector and ThreadSafeSTLMap and their (details)
Commit 315600f480055f5143aaa245f25bd25221edfa91 by Raphael Isemann
[lldb][NFC] Remove ThreadSafeSTLVector and ThreadSafeSTLMap and their
use in ValueObjectSynthetic
Summary: ThreadSafeSTLVector and ThreadSafeSTLMap are not useful for
achieving any degree of thread safety in LLDB and should be removed
before they are used in more places. They are only used (unsurprisingly
incorrectly) in
`ValueObjectSynthetic::GetChildAtIndex`, so this patch replaces their
use there with a simple mutex with which we guard the related data
structures. This doesn't make ValueObjectSynthetic::GetChildAtIndex any
more thread-safe, but on the other hand it at least allows us to get rid
of the ThreadSafeSTL* data structures without changing the observable
behaviour of ValueObjectSynthetic (beside that it is now a few bytes
Reviewers: labath, JDevlieghere, jingham
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D70845
The file was modifiedlldb/source/Core/ValueObjectSyntheticFilter.cpp
The file was removedlldb/include/lldb/Core/ThreadSafeSTLVector.h
The file was modifiedlldb/include/lldb/Core/ValueObjectSyntheticFilter.h
The file was removedlldb/include/lldb/Core/ThreadSafeSTLMap.h