diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2016-12-16 03:45:59 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-12-16 03:45:59 +0000 |
commit | c1ded7dcef3fcb94fe95fd0105b220b54c515158 (patch) | |
tree | 0ea2f401a6048e5128f922028b4a3b9465168020 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | d644e021b54ddf5d89d3e98c40a9e6337f7da185 (diff) | |
download | llvm-c1ded7dcef3fcb94fe95fd0105b220b54c515158.zip llvm-c1ded7dcef3fcb94fe95fd0105b220b54c515158.tar.gz llvm-c1ded7dcef3fcb94fe95fd0105b220b54c515158.tar.bz2 |
COFF: Cache the result of library searches.
File system operations were still dominating the profile on Windows. In this
case we were spending a significant amount of our time repeatedly searching
for libraries as a result of processing linker directives. Address this
by caching whether we have already found a library with a given name. For
chrome_child.dll:
Before: 10.53s
After: 6.88s
Differential Revision: https://reviews.llvm.org/D27840
llvm-svn: 289915
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions