On Fri, Oct 11, 2013 at 12:57 PM, David Blaikie <[email protected]> wrote:

>
>
>> Is it reasonable for this commit to be enabled only for limit-debug-info,
>> when no-limit-debug-info is on, we don't see effects of this patch?
>>
>
> GCC does this by default, at least on Linux - I haven't tested on MacOS. I
> would guess it does so there too (but as you point out, there are different
> tradeoffs there, so I might be wrong).
>
>  I'd like to understand the performance tradeoff to justify such a large
> regression in debug info size (it's worth about ~20% on Clang/LLVM based on
> my experiments).
>

All evidence is that for many even larger C++ code bases (Chromium, etc)
this is even more important to be on by default. I would really rather fix
this by ensuring the debugger has the information necessary to quickly find
the definition than to emit the definition in so many more places.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to