[cfe-dev] ThinLTO and removal of hidden visibility code

Damjan Marion via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 19 06:48:53 PDT 2020


Hi,

I noticed that only when I use -flto=full functions which have hidden visibility are removed
from code when I link it into .so file.

Is this expected behaviour? Is there a way to achieve same with —flto=thin?

Thanks

— 
Damjan




More information about the cfe-dev mailing list