commit | fffb72470d126e7000a03a88ed30326e3521d84f | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Fri Oct 26 00:29:57 2012 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Fri Oct 26 00:29:57 2012 +0000 |
tree | 2bd8f690ccd18ca750938a52184aef65945138d8 | |
parent | cadc38a4b1b0bd43608bb7f7b7660304acb29965 [diff] |
libLTO has a bug in that it will keep every symbol if none is needed. We used to hack around this in the gold plugin by deleting a module if no symbol was needed. Unfortunately, the hack is wrong in the case of o module having no visible symbols but still having side effects via static constructors. The bug will have to be fixed in libLTO itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166745 91177308-0d34-0410-b5e6-96231b3b80d8