aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-03-06 06:07:32 +0000
committerRui Ueyama <ruiu@google.com>2015-03-06 06:07:32 +0000
commitda9bc2e56d5a5c6332a9def1a0065eb399182b93 (patch)
tree550f86fdbf7c2721e56555b73c9b219abf3477a5 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent55905145e7cfe2adca541e7162b91d23a4e7f26c (diff)
downloadllvm-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