aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-12-27 06:08:10 +0000
committerRui Ueyama <ruiu@google.com>2017-12-27 06:08:10 +0000
commit130eb04689e29faddb4ca443e7bc11c698d1b728 (patch)
tree8efc6e62847617085f6045b5755592c1594ff092 /llvm/lib/Support/CommandLine.cpp
parente243ff81418dac9846701a0d07137a8334bb3845 (diff)
downloadllvm-130eb04689e29faddb4ca443e7bc11c698d1b728.zip
llvm-130eb04689e29faddb4ca443e7bc11c698d1b728.tar.gz
llvm-130eb04689e29faddb4ca443e7bc11c698d1b728.tar.bz2
[COFF] Do not parse args twice if no rsp files exists
Patch by Takuto Ikuta. This patch reduces link time of chromium's blink_core.dll in component build. Total size of input argument in .directives become nearly 300MB in the build and no rsp file is used. Speedup link by skipping duplicate parsing. On my desktop machine, 4 times stats are like below. Improved around 15%. This patch TotalSeconds : 18.408538 TotalSeconds : 17.2996744 TotalSeconds : 17.1053862 TotalSeconds : 17.809777 avg: 17.6558439 master TotalSeconds : 20.9290504 TotalSeconds : 19.9158213 TotalSeconds : 21.0643515 TotalSeconds : 20.8775831 avg: 20.696701575 Differential Revision: https://reviews.llvm.org/D41581 llvm-svn: 321470
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions