commit | d7bb2de6712dc5cf32f6a6c5a9c2bfeaa4224a45 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Mar 23 21:16:33 2016 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Mar 23 21:16:33 2016 +0000 |
tree | b16a7d2880a88d5bed44c83f8526a4abb0da56df | |
parent | 46e35edc2d1101e461bf2ca14e5a80c71934f7de [diff] |
Fix logic for which symbols to keep with comdats. If a comdat is dropped, all symbols in it are dropped. If a comdat is kept, the symbols survive to pass regular symbol resolution. With this patch we do that for all global symbols. The added test is a copy of test/tools/gold/X86/comdat.ll that we now pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264192 91177308-0d34-0410-b5e6-96231b3b80d8