OSDN Git Service

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)
commit976af7236d6d274767ae29050008e11a88bba463
treea84feff1ac7a0f17fd4d7d4d1f4079ec51bc3d67
parente48a32e1953d99014cd2c8d46cd85363b4f5a48c
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

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