forked from OSchip/llvm-project
4b9b379172
Module inline asm was always being linked/concatenated when running the IRLinker. This is correct for full LTO but not when we are importing for ThinLTO, as it can result in multiply defined symbols when the module asm defines a global symbol. In order to test with llvm-lto2, I had to work around PR30396, where a symbol that is defined in module assembly but defined in the LLVM IR appears twice. Added workaround to llvm-lto2 with a FIXME. Fixes PR30610. Reviewers: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25359 llvm-svn: 284030 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
IRMover.cpp | ||
LLVMBuild.txt | ||
LinkDiagnosticInfo.h | ||
LinkModules.cpp |