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

Chris Lattner clattner at apple.com
Thu Aug 28 17:33:59 PDT 2008


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



More information about the cfe-dev mailing list