[llvm-commits] [llvm-gcc-4.2] r53130 - /llvm-gcc-4.2/trunk/gcc/cgraphunit.c

Chris Lattner clattner at apple.com
Tue Jul 8 17:17:02 PDT 2008


On Jul 8, 2008, at 3:40 PM, Daniel Berlin wrote:

> On Tue, Jul 8, 2008 at 2:49 PM, Chris Lattner <clattner at apple.com>  
> wrote:
>>
>> On Jul 8, 2008, at 10:40 AM, Dale Johannesen wrote:
>>
>>>>
>>>> Also, how much of a win is this?
>>>
>>> I don't know.  It showed up on a profile as a place where time was
>>> being spent, maybe the guys who made the profile have some idea.
>>
>> This was a big win.  Again, libstdc++ headers have dead static
>> functions.  These dead static functions take some compile time, but
>> take more time doing debug info generation and emission.
>>
> So, i took a look, and i don't see any dead static functions in
> libstdc++ with gcc 4.3.
> Which functions in particular are you thinking of?

It is entirely possible it is fixed in 4.3.  I see  
"_ZStL17__verify_groupingPKcmRKSs" coming from something transitively  
coming in from <iostream> as an example.  It takes an std::string, so  
it gets debug info for all of strings, locales, ....

-Chris



More information about the llvm-commits mailing list