Enable existing summary-based importing support in the gold-plugin.
Details
Diff Detail
Event Timeline
(Forgot to click submit in phab)
lib/Transforms/IPO/FunctionImport.cpp | ||
---|---|---|
534 | Note: we plan to change the alias representation to https://llvm.org/bugs/show_bug.cgi?id=27866 ; which I believe will make this issue obsolete. It may even remove the need for the aliases representation in the summary (not sure what are the implications about comdats). Also, this seems like a bug fix that could be exposed with llvm-lto, and thus be split out of this patch? |
lib/Transforms/IPO/FunctionImport.cpp | ||
---|---|---|
534 | Can't reproduce with llvm-lto. I think it is specific to the way the gold plugin handles setting up the list of symbols to link in (it doesn't link in the preempted weak symbol). |
Note: we plan to change the alias representation to https://llvm.org/bugs/show_bug.cgi?id=27866 ; which I believe will make this issue obsolete. It may even remove the need for the aliases representation in the summary (not sure what are the implications about comdats).
Also, this seems like a bug fix that could be exposed with llvm-lto, and thus be split out of this patch?