[Support/MemoryBuffer] Introduce a boolean parameter (false by default) 'IsVolatile...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 5 May 2014 21:55:51 +0000 (21:55 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 5 May 2014 21:55:51 +0000 (21:55 +0000)
commit32b6099a7729dbd97dc1e8551808c5f3f3517af3
tree70217e25fcb9b7c39573b5795668fad31159e357
parent73ebb5abafee2d695ddc4555225eec436b7e25a2
[Support/MemoryBuffer] Introduce a boolean parameter (false by default) 'IsVolatile' for the open file functions.

This provides a hint that the file may be changing often so mmap is avoided.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208007 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/MemoryBuffer.h
lib/Support/MemoryBuffer.cpp