[llvm-commits] [llvm-gcc-4.2] r60714 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp

Chris Lattner clattner at apple.com
Mon Dec 8 13:23:29 PST 2008


On Dec 8, 2008, at 1:10 PM, Devang Patel wrote:

>
> On Dec 8, 2008, at 1:05 PM, Duncan Sands wrote:
>
>> Hi Devang,
>>
>>> There is no reason to ignore type variants.
>>
>> I think Evan added this because otherwise we were getting
>> vast amounts of fairly useless debug info.
>
> However, we don't want to lose TAG_typedef, TAG_const_type,
> TAG_volatile_type etc..  They're not useless.

Devang, please compare the type generated by GCC for some large c++  
file, to make sure that we're generating roughly the same volume of  
debug info.  If this causes us to generate substantially more debug  
info that GCC then either it is wrong or there is some other real  
problem.

Dramatically slowing down -O0 -g by producing tons more debug info is  
bad.

-Chris




More information about the llvm-commits mailing list