hanchenye-llvm-project/lldb/source/Plugins/Process/mach-core
Zachary Turner 7f6a7a3752 Remove FileSpec::ReadFileContents.
This functionality is subsumed by DataBufferLLVM, which is
also more efficient since it will try to mmap.  However, we
don't yet support mmaping writable private sections, and in
some cases we were using ReadFileContents and then modifying
the buffer.  To address that I've added a flag to the
DataBufferLLVM methods that allow you to map privately, which
disables the mmaping path entirely.  Eventually we should teach
DataBufferLLVM to use mmap with writable private, but that is
orthogonal to this effort.

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

llvm-svn: 297095
2017-03-06 23:42:14 +00:00
..
CMakeLists.txt
ProcessMachCore.cpp Remove FileSpec::ReadFileContents. 2017-03-06 23:42:14 +00:00
ProcessMachCore.h Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
ThreadMachCore.cpp Move DataBuffer / DataExtractor and friends from Core -> Utility. 2017-03-04 01:30:05 +00:00
ThreadMachCore.h