llvm-project/lldb/source/Plugins/Process/elf-core
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
..
CMakeLists.txt
ProcessElfCore.cpp [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
ProcessElfCore.h [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
RegisterContextPOSIXCore_arm.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextPOSIXCore_arm.h Move NativeRegisterContextLinux/RegisterContextPOSIX*_arm to RegisterInfoAndSetInterface 2020-09-07 09:06:46 +05:00
RegisterContextPOSIXCore_arm64.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextPOSIXCore_arm64.h Support AArch64 PAC elf-core register read 2021-05-03 16:04:47 +05:00
RegisterContextPOSIXCore_mips64.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextPOSIXCore_mips64.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RegisterContextPOSIXCore_powerpc.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextPOSIXCore_powerpc.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RegisterContextPOSIXCore_ppc64le.cpp
RegisterContextPOSIXCore_ppc64le.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RegisterContextPOSIXCore_s390x.cpp [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
RegisterContextPOSIXCore_s390x.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RegisterContextPOSIXCore_x86_64.cpp
RegisterContextPOSIXCore_x86_64.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00
RegisterUtilities.cpp [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
RegisterUtilities.h [lldb] [Process/elf-core] Fix reading NetBSD/i386 core dumps 2021-06-20 18:59:21 +02:00
ThreadElfCore.cpp [lldb] [Process/elf-core] Fix reading NetBSD/i386 core dumps 2021-06-20 18:59:21 +02:00
ThreadElfCore.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00