Skip to content
Commit a339e476 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

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.

llvm-svn: 166745
parent 5ee5ca1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment