summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SSAUpdater.cpp
diff options
context:
space:
mode:
authorDavid Major <dmajor@mozilla.com>2019-01-09 23:36:32 +0000
committerDavid Major <dmajor@mozilla.com>2019-01-09 23:36:32 +0000
commit30ba0a0c950a0cdf23a70fce6c16d501c5f238c8 (patch)
tree15bca9082414c8a958960309d18180999070afc7 /llvm/lib/Transforms/Utils/SSAUpdater.cpp
parentf3a4770475c7d503ed66667f0085f0cdbfc3bbe9 (diff)
downloadbcm5719-llvm-30ba0a0c950a0cdf23a70fce6c16d501c5f238c8.tar.gz
bcm5719-llvm-30ba0a0c950a0cdf23a70fce6c16d501c5f238c8.zip
Don't require a null terminator when loading objects
When a null terminator is required and the file size is a multiple of the system page size, MemoryBuffer will prefer pread() over mmap(), which can result in excessive memory usage. Patch by Mike Hommey! Differential Revision: https://reviews.llvm.org/D56475 llvm-svn: 350774
Diffstat (limited to 'llvm/lib/Transforms/Utils/SSAUpdater.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud