COFF: Move a call to toString() out of the hot path.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Dec 2016 20:51:33 +0000 (20:51 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 9 Dec 2016 20:51:33 +0000 (20:51 +0000)
commitfa7f39371447cd8c0a50c4764e60c01b5c336122
treec48a2956ed7e35d660b95621fc584d72dc90f232
parent8fafb8d37861378bfc7432891edd8c75a3589f71
COFF: Move a call to toString() out of the hot path.

Profiling revealed that we were spending 5% of our time linking
chrome_child.dll just in this call to toString().

Differential Revision: https://reviews.llvm.org/D27628

llvm-svn: 289270
lld/COFF/InputFiles.cpp