<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 2, 2014 at 8:37 AM, Diego Novillo <span dir="ltr"><<a href="mailto:dnovillo@google.com" target="_blank">dnovillo@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Tue, Jul 1, 2014 at 7:56 PM, Alexey Samsonov <<a href="mailto:vonosmas@gmail.com">vonosmas@gmail.com</a>> wrote:<br>

><br>
> On Thu, Jun 26, 2014 at 9:46 AM, Diego Novillo <<a href="mailto:dnovillo@google.com">dnovillo@google.com</a>> wrote:<br>
>><br>
>> For -Rpass, and other related uses, I am looking at enabling column info<br>
>> by default. David pointed me at PR 14106, which seems to be the original<br>
>> motivation for introducing -gcolumn-info. However, I am finding no<br>
>> differences when using it on this test.  I've tried building with/without<br>
>> -gcolumn-info and found almost no difference in compile time (+0.4%):<br>
>><br>
>> $ /usr/bin/time clang -w -fno-builtin -O2 -g -gcolumn-info test-tgmath2.i<br>
>> 474.38user 2.10system 7:58.00elapsed 99%CPU<br>
>><br>
>> $ /usr/bin/time clang -w -fno-builtin -O2 -g  test-tgmath2.i<br>
>> 472.63user 2.02system 7:56.11elapsed 99%CPU<br>
>><br>
>> I'm running clang from trunk @211693.<br>
>><br>
>> The size of all debug sections (according to readelf) are:<br>
>><br>
>> - with -g -gcolumn-info: 836,177 bytes<br>
>> - with -g: 826,552 bytes<br>
>><br>
>> That's a growth of about 1% in debug info size.<br>
><br>
><br>
> What about the difference between -gmlt and -gmlt + -gcolumn-info?<br>
<br>
</div>Debug info growth is larger in proportion (3%). Total binary size is<br>
roughly the same (~1%). Compile times are identical (7m47s for both).<br>
<br>
- with -gmlt -gcolumn-info: 319,792 bytes<br>
- with -gmlt: 310,243 bytes<br></blockquote><div><br></div><div>Looks good. I think we can live with that increase. I'm certainly not opposed</div><div>to enabling -gcolumn-info by default. For example, adding it will automatically</div>
<div>give us column numbers in stack traces in sanitizer error reports.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
<br>
Diego.<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div>
</div></div>