ThinLTOBitcodeWriter: Do not include module-level inline asm in the merged module.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 6 Feb 2018 03:29:18 +0000 (03:29 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 6 Feb 2018 03:29:18 +0000 (03:29 +0000)
commit29c6f4833ce0e743118278e9a149e27cbd8da126
treebd3cda2e2f5ccc76d3d661df8c15af0677a0feb1
parentcefa05d39f9ba3521976a5ab08d279b00b5811cb
ThinLTOBitcodeWriter: Do not include module-level inline asm in the merged module.

If the inline asm provides the definition of a symbol, this can result
in duplicate symbol errors.

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

llvm-svn: 324313
llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
llvm/test/Transforms/ThinLTOBitcodeWriter/module-asm.ll [new file with mode: 0644]