[LLVMdev] Export maps and -fvisibility-inlines-hidden

Chris Lattner
Fri, 29 Aug 2008 00:33:59 -0000

On Aug 28, 2008, at 4:20 PM, Daniel Dunbar wrote:

> The performance difference is rather large for these small files. My
> suggestion based on
> these results is that we enable -fvisibility-inlines-hidden by
> default for platforms which
> support it, and add a Makefile flag which allows individual programs
> to specify their export
> list (probably just as a list of symbols). For simple tools which
> have no exports we
> would set this to _main.
>
> Seems reasonable?

Sounds excellent to me!  Thank you for the analysis Daniel,

-Chris