diff options
author | Rui Ueyama <ruiu@google.com> | 2015-03-06 06:07:32 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-03-06 06:07:32 +0000 |
commit | da9bc2e56d5a5c6332a9def1a0065eb399182b93 (patch) | |
tree | 550f86fdbf7c2721e56555b73c9b219abf3477a5 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 55905145e7cfe2adca541e7162b91d23a4e7f26c (diff) | |
download | llvm-da9bc2e56d5a5c6332a9def1a0065eb399182b93.zip llvm-da9bc2e56d5a5c6332a9def1a0065eb399182b93.tar.gz llvm-da9bc2e56d5a5c6332a9def1a0065eb399182b93.tar.bz2 |
Support: Improve performance of FileOutputBuffer on Windows
We extend an underlying file before mmap'ing it, but it's not needed
on Windows. Extending file is slow on Windows, so we should avoid doing that.
The difference gets larger as the size of an output file gets larger.
It shove off 2 seconds out of 25 seconds when linking chrome.dll with LLD,
for example.
llvm-svn: 231452
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions