[Lldb-commits] [PATCH] D40079: Make sure DataBufferLLVM contents are writable
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 19 04:59:15 PST 2017
labath updated this revision to Diff 127500.
labath added a comment.
It took a while, but we've finally landed an llvm::WritableMemoryBuffer class.
This patch now becomes simple, as all I need to do is use that instead of the
MemoryBuffer class.
Well.. almost. The new class does not have the null-termination capability, so I
also update our buffer uses to not require null termination.
https://reviews.llvm.org/D40079
Files:
include/lldb/Interpreter/OptionValueFileSpec.h
include/lldb/Target/Target.h
include/lldb/Utility/DataBufferLLVM.h
source/Interpreter/OptionValueFileSpec.cpp
source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
source/Target/Target.cpp
source/Utility/DataBufferLLVM.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40079.127500.patch
Type: text/x-patch
Size: 9767 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20171219/ea46f997/attachment.bin>
More information about the lldb-commits
mailing list