summaryrefslogtreecommitdiff
path: root/lib/Support/Atomic.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-06 00:51:45 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2014-05-06 00:51:45 +0000
commit6a914399c907624d1d9364dd06edb34c825375a4 (patch)
treed60d5da2dd30a0ca2a9f98588c641a4a71aa1016 /lib/Support/Atomic.cpp
parent096d8411b3c093e90e2509bab2fea4f7934e7f91 (diff)
downloadllvm-6a914399c907624d1d9364dd06edb34c825375a4.tar.gz
llvm-6a914399c907624d1d9364dd06edb34c825375a4.tar.bz2
llvm-6a914399c907624d1d9364dd06edb34c825375a4.tar.xz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208021 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Atomic.cpp')
0 files changed, 0 insertions, 0 deletions