On Thu, Sep 12, 2013 at 11:59:30PM +0200, Julian Seward wrote: > On 09/12/2013 11:08 PM, Chris Peterson wrote: > > On 9/12/13 6:35 AM, Mike Hommey wrote: > >> Note we have *many* inline functions that the compiler decide to never > >> inline. We should maybe try to detect those on all platforms and move > >> those functions out of headers. > > > > gcc -Winline will report uninlined "inline" functions, but the warnings are > > VERY noisy and sensitive to compilation flags. Still, periodic -Winline > > "spot checks" might be useful to identify the most frequently uninlined > > functions. > > Presumably gcc must compute some "desirability of inlining" metric for each > function, and use that to make a yes/no decision. Is there a way to get it > to show such information, so we can at work through the > erroneously-in-header-file functions in least-contentions-first ordering?
there's -fdump-ipa-inline, I'm not sure if its actually useful here or not, but its atleast interesting :-) Trev > > J > > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform