hanchenye-llvm-project/lldb/source/DataFormatters
Saleem Abdulrasool 16ff860469 remove use of Mutex in favour of std::{,recursive_}mutex
This is a pretty straightforward first pass over removing a number of uses of
Mutex in favor of std::mutex or std::recursive_mutex. The problem is that there
are interfaces which take Mutex::Locker & to lock internal locks. This patch
cleans up most of the easy cases. The only non-trivial change is in
CommandObjectTarget.cpp where a Mutex::Locker was split into two.

llvm-svn: 269877
2016-05-18 01:59:10 +00:00
..
CMakeLists.txt Let Language plugins vend a default DeclPrintingHelper in case a custom one is not specified for the specific invocation 2015-10-19 22:04:25 +00:00
CXXFunctionPointer.cpp Rationalization of includes in the data formatters code 2015-10-20 04:50:09 +00:00
DataVisualization.cpp Reapply r253423 and r253424 (which cleanup the data formatters iteration model, as well as the type X list commands), along with a change by Zachary Turner to bypass a MSVC bug with SFINAE 2015-11-18 19:42:44 +00:00
DumpValueObjectOptions.cpp Add a --element-count option to the expression command 2016-04-25 00:52:47 +00:00
FormatCache.cpp remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
FormatClasses.cpp Introduce a FormattersMatchData class which contains all the information that data formatters need in one place, and also allows for lazy computation of expensive chunks of information if need be 2015-10-06 01:02:47 +00:00
FormatManager.cpp remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
FormattersHelpers.cpp Remove even more of the data formatters that silently run code 2016-04-08 21:24:24 +00:00
LanguageCategory.cpp Fix a bug where language categories would hold on to their caches even after changes 2015-12-15 02:20:48 +00:00
StringPrinter.cpp Fix some compiler warnings with MSVC 2015. 2016-01-13 21:22:00 +00:00
TypeCategory.cpp remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
TypeCategoryMap.cpp remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
TypeFormat.cpp Now that SymbolFileDWARF supports having types in completely separate .pcm file with "-fmodules -gmodules", each SymbolFileDWARF can reference module DWARF info by looking in other DWARF files. Then if you have 1000 .o files that each reference one or more .pcm files in their debug info, a simple Module::FindTypes(...) call can end up searching the same .pcm file over and over and over. Now all internal FindTypes methods in classes (ModuleList, Module, SymbolFile) now take an extra argument: 2016-02-10 21:28:13 +00:00
TypeSummary.cpp Fix TestDataFormatterScript for Linux. 2016-01-29 03:48:08 +00:00
TypeSynthetic.cpp Add support for synthetic child providers to optionally return a customized typename for display 2016-05-02 00:41:24 +00:00
TypeValidator.cpp
ValueObjectPrinter.cpp Add a --element-count option to the expression command 2016-04-25 00:52:47 +00:00
VectorType.cpp Fix Clang-tidy modernize-use-override warnings in some files in source; other minor fixes. 2015-10-26 17:00:13 +00:00