[cfe-commits] r127018 - /cfe/trunk/lib/CodeGen/CGExpr.cpp

Douglas Gregor dgregor at apple.com
Fri Mar 4 11:19:14 PST 2011


On Mar 4, 2011, at 11:08 AM, Devang Patel wrote:

> 
> On Mar 4, 2011, at 11:04 AM, Douglas Gregor wrote:
> 
>>> clang keeps track of column numbers, so we could put location entries for all subexpressions but that will significantly bloat debug info in general, 
>> 
>> Is this a guess, or have we tried it?
> 
> I have not measured this (i.e. judiciously emitting location for each and every subexpression).
> 
> I have seen line table growth in the range of 8-10% just because clang has column info. I'll keep doing experiments and measurements to find right balance.

Okay. Adding column locations for all subexpressions does seem excessive, but when there are multiple calls (or object constructors, or whatever) on a line it seems like it could be useful. I have no idea if debuggers do much with columns, though :(

  - Doug





More information about the cfe-commits mailing list