[PATCH] D23488: ThinLTO: add early "dead-stripping" on the Index

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 19 18:00:59 PST 2016


mehdi_amini added a comment.

In https://reviews.llvm.org/D23488#627212, @pcc wrote:

> [...]
>  In this case we can't dead strip f by internalizing as that would end up keeping the reference to the dead function g, we need to actually remove it.


Right, it's probably not worth it in practice. There is likely not commonly enough `compiler.used` cases. We can always reconsider later.


https://reviews.llvm.org/D23488





More information about the llvm-commits mailing list