commit | fee12b29851983ab536d46ed0fe85bddd665638a | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Sat Jul 24 19:43:25 2010 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Sat Jul 24 19:43:25 2010 +0000 |
tree | 55f549e657e6e28037b002253567ac95fbb6cf70 | |
parent | 1ec9e6a5dccbc6042d25f03f224d351f15812aec [diff] |
Whether function-local or not, a MDNode may reference a Function in which case it needs to be mapped to refer to the function in the new module, not the old one. Fixes PR7700. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109353 91177308-0d34-0410-b5e6-96231b3b80d8