Improve performance of LinkModules when linking with modules with large numbers of...
authorJames Molloy <james.molloy@arm.com>
Wed, 27 Mar 2013 10:23:32 +0000 (10:23 +0000)
committerJames Molloy <james.molloy@arm.com>
Wed, 27 Mar 2013 10:23:32 +0000 (10:23 +0000)
commitec25de421c8412459cd5735daa15771981b916c1
treee4397a2c5a11f42c874f59b628a38efe6277062d
parentf903a9ee6ebbe12cbb513f7c8ff4e2ea07bc683f
Improve performance of LinkModules when linking with modules with large numbers of functions which link lazily. Instead of creating and destroying function prototypes irrespective of if they are used, only create them if they are used.

llvm-svn: 178130
llvm/lib/Linker/LinkModules.cpp