Move the resize file feature from mapped_file_region to the only user.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 12 Dec 2014 18:13:23 +0000 (18:13 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 12 Dec 2014 18:13:23 +0000 (18:13 +0000)
commit7f4b22e7de0fcc958a1711a5b9b3f2551831a08b
tree06ac4258c5a6bfb4bcc683d9624db954115f4408
parente1136e38a7c5cf84ab16e4f0d50c6a8f4bde0ff4
Move the resize file feature from mapped_file_region to the only user.

This removes a duplicated stat on every file that llvm-ar looks at.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224138 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/FileOutputBuffer.cpp
lib/Support/Unix/Path.inc
unittests/Support/Path.cpp