llvm-project/lldb/source/Plugins/Language/CPlusPlus
Jan Kratochvil 14f443030c [nfc] [lldb] Prevent needless copies of DataExtractor
lldb_private::DataExtractor contains DataBufferSP m_data_sp which is
relatively expensive to copy (due to multi-threading locking).

llvm::DataExtractor does not have this problem as it uses StringRef
instead.

The copy constructor is explicit as otherwise it is easy to make
unintended modification of a local copy instead of a caller's instance
(D107470 but that is llvm::DataExtractor).

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D107485
2021-08-04 20:35:53 +02:00
..
BlockPointer.cpp [LLDB] Remove uneeded CopyType from BlockPointerSyntheticFrontEnd 2021-02-09 16:11:28 -08:00
BlockPointer.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
CMakeLists.txt [lldb] Move clang-based files out of Symbol 2020-01-31 12:20:10 -08:00
CPlusPlusLanguage.cpp [lldb] Remove CPlusPlusLanguage from Mangled 2021-07-29 13:58:35 -07:00
CPlusPlusLanguage.h [lldb] Remove CPlusPlusLanguage from Mangled 2021-07-29 13:58:35 -07:00
CPlusPlusNameParser.cpp [LLDB] Initialize temporary token 2020-03-30 16:12:50 +02:00
CPlusPlusNameParser.h [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
CxxStringTypes.cpp [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
CxxStringTypes.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
LibCxx.cpp [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
LibCxx.h [lldb] Add deref support to libc++ unique_ptr synthetic 2021-02-26 07:39:01 -08:00
LibCxxAtomic.cpp [lldb] Don't model std::atomic as a transparent data structure in the data formatter 2020-02-18 11:22:12 +01:00
LibCxxAtomic.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
LibCxxBitset.cpp [lldb][NFC] Give CompilerType's IsArrayType/IsVectorType/IsBlockPointerType out-parameters default values 2021-02-23 11:15:31 +01:00
LibCxxInitializerList.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
LibCxxList.cpp Remove some unnecessary explicit defaulted copy ctors to cleanup -Wdeprecated-copy 2021-05-10 14:31:11 -07:00
LibCxxMap.cpp Remove some unnecessary explicit defaulted copy ctors to cleanup -Wdeprecated-copy 2021-05-10 14:31:11 -07:00
LibCxxOptional.cpp [lldb][NFC] Don't hide a bool in LibCxxOptional's OptionalFrontend::m_size 2020-02-10 13:03:06 +01:00
LibCxxQueue.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
LibCxxTuple.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
LibCxxUnorderedMap.cpp [lldb] Move clang-based files out of Symbol 2020-01-31 12:20:10 -08:00
LibCxxVariant.cpp [lldb] Let TypeSystemClang::GetDisplayTypeName remove anonymous and inline namespaces. 2020-02-19 10:30:11 +01:00
LibCxxVariant.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
LibCxxVector.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
LibStdcpp.cpp Reland [lldb] Fix string summary of an empty NSPathStore2 2020-03-19 18:50:26 +01:00
LibStdcpp.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
LibStdcppTuple.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
LibStdcppUniquePointer.cpp [lldb] Fix libstdc++ 11's std::unique_ptr affecting LLDB testsuite TestDataFormatterStdUniquePtr.py 2021-06-15 11:19:20 +02:00
MSVCUndecoratedNameParser.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
MSVCUndecoratedNameParser.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00