summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/dropped_constructor.ll
Commit message (Collapse)AuthorAgeFilesLines
* Don't create a comdat group for a dropped def with initializerTeresa Johnson2017-01-181-0/+19
Non-prevailing weak/linkonce odr symbols will be dropped by ThinLTO to available_externally when possible. If they had an initializer in the global_ctors list, a comdat group was being created. This code already had logic to skip available_externally defs, but now the EliminateAvailableExternally pass will drop these symbols to declarations earlier. Change the check to skip all declarations for linker (which includes available_externally along with declarations). Reviewers: mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D28737 llvm-svn: 292408
OpenPOWER on IntegriCloud