]> granicus.if.org Git - llvm/commit
ThinLTOBitcodeWriter: Include globals associated with type metadata globals in the...
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 29 Jul 2019 17:22:40 +0000 (17:22 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 29 Jul 2019 17:22:40 +0000 (17:22 +0000)
commit48cc4c716bf1133bcc1359279350a0cc20017693
tree45dd012628b04f738232c4a9a2976890ca2436cf
parent4f4ab9ef4ceaec3e7598a9730f50086059fe535d
ThinLTOBitcodeWriter: Include globals associated with type metadata globals in the merged module.

Globals that are associated with globals with type metadata need to appear
in the merged module because they will reference the global's section directly.

Differential Revision: https://reviews.llvm.org/D65312

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367242 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
test/Transforms/ThinLTOBitcodeWriter/associated.ll [new file with mode: 0644]