[PATCH] D40291: [Support] Add WritableMemoryBuffer class
Pavel Labath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 19 04:14:06 PST 2017
labath updated this revision to Diff 127490.
labath marked 2 inline comments as done.
labath added a comment.
- Qualify members as MemoryBuffer::***
- Add a static constexpr bool Writable member and use that to choose the mmap flags.
https://reviews.llvm.org/D40291
Files:
include/llvm/Support/MemoryBuffer.h
lib/Support/MemoryBuffer.cpp
unittests/Support/MemoryBufferTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40291.127490.patch
Type: text/x-patch
Size: 17166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171219/7d54d64b/attachment.bin>
More information about the llvm-commits
mailing list