Skip to content
Commit bde59274 authored by Argyrios Kyrtzidis's avatar Argyrios Kyrtzidis
Browse files

[Support/MemoryBuffer] Move the IsVolatile check inside shouldUseMmap() and...

[Support/MemoryBuffer] Move the IsVolatile check inside shouldUseMmap() and make sure to zero-initialize the rest
of the buffer if we unexpectedly reach end-of-file while reading.

llvm-svn: 208021
parent 8620d933
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment