commit | a84a83bbcdfaecadfc6574094272fd3edc429a23 | [log] [tgz] |
---|---|---|
author | James Molloy <james.molloy@arm.com> | Tue May 28 15:17:05 2013 +0000 |
committer | James Molloy <james.molloy@arm.com> | Tue May 28 15:17:05 2013 +0000 |
tree | ca87000d15263653ac635164ab194745b87f46e6 | |
parent | 9903f75bf6ec4136bd752595c689db845eedad3d [diff] |
Extend RemapInstruction and friends to take an optional new parameter, a ValueMaterializer. Extend LinkModules to pass a ValueMaterializer to RemapInstruction and friends to lazily create Functions for lazily linked globals. This is a big win when linking small modules with large (mostly unused) library modules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182776 91177308-0d34-0410-b5e6-96231b3b80d8