Remap metadata attached to instructions when remapping individual
authorDan Gohman <gohman@apple.com>
Wed, 25 Aug 2010 21:36:50 +0000 (21:36 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 25 Aug 2010 21:36:50 +0000 (21:36 +0000)
commitce934260dc4ce12bd59f15aaa5ef28520214ad4f
tree450ae3e5f7d7c84e1a8f78152c02525c47da8af4
parent3e60a232c130990035e86c11584856b5adc25bfa
Remap metadata attached to instructions when remapping individual
instructions, not when remapping modules.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112091 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Linker/LinkModules.cpp
lib/Transforms/Utils/CloneModule.cpp
lib/Transforms/Utils/ValueMapper.cpp
test/Linker/metadata-a.ll [new file with mode: 0644]
test/Linker/metadata-b.ll [new file with mode: 0644]