Non-prevailing weak/linkonce odr symbols will be dropped 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).
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3034 Build 3034: arc lint + arc unit
Do we need a ThinLTO importing to expose this case?
Can't you have a "simple" llc test that test the CodeGen for this?