Simplify the linking of recursive data.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 27 Nov 2015 20:28:19 +0000 (20:28 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 27 Nov 2015 20:28:19 +0000 (20:28 +0000)
commit66bd82e422586c8a3355271099d7e549b18c5e0e
tree4360c457eac1307a6e4b39fb146b4a41cca388db
parent1a4a4976d27c9e07f6f561cdecd7ddd46a357fec
Simplify the linking of recursive data.

Now the ValueMapper has two callbacks. The first one maps the
declaration. The ValueMapper records the mapping and then materializes
the body/initializer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254209 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
include/llvm/Transforms/Utils/ValueMapper.h
lib/Linker/LinkModules.cpp
lib/Transforms/Utils/ValueMapper.cpp
tools/gold/gold-plugin.cpp