llvm-project/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD
Adrian Prantl 0e4c482124 Pass ConstString by value (NFC)
My apologies for the large patch. With the exception of ConstString.h
itself it was entirely produced by sed.

ConstString has exactly one const char * data member, so passing a
ConstString by reference is not any more efficient than copying it by
value. In both cases a single pointer is passed. But passing it by
value makes it harder to accidentally return the address of a local
object.

(This fixes rdar://problem/48640859 for the Apple folks)

Differential Revision: https://reviews.llvm.org/D59030

llvm-svn: 355553
2019-03-06 21:22:25 +00:00
..
CMakeLists.txt [CMake] [1/4] Update a batch of plugins 2017-01-31 22:21:19 +00:00
DynamicLoaderDarwin.cpp Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
DynamicLoaderDarwin.h Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
DynamicLoaderMacOS.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DynamicLoaderMacOS.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DynamicLoaderMacOSXDYLD.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DynamicLoaderMacOSXDYLD.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00