[LLVMdev] -gcolumn-info and PR 14106

Eric Christopher echristo at gmail.com
Thu Jun 26 13:03:28 PDT 2014


On Thu, Jun 26, 2014 at 12:55 PM, Robinson, Paul
<Paul_Robinson at playstation.sony.com> wrote:
>> > Turning it on does more than slightly increase the object file size, it
>> can
>> > cause the same source line to be listed multiple times in the
>> .debug_line
>> > table (with different column numbers).  This can be confusing to
>> debuggers
>> > that ignore column info, or possibly to the users who expect “set
>> breakpoint
>> > on line 12” to set one breakpoint and it actually sets 4. “How come
>> nothing
>> > happens when I hit Continue?”
>> >
>>
>> Honestly IMO this is a "please fix your debugger, it has bugs" issue.
>>
>> -eric
>
> What the committee calls "a quality of implementation issue" :-)

:)

> No real argument from me.  I've had that problem at previous jobs tho.
> We currently assume there's no column info but I expect we can learn
> to cope.  People do get twitchy about size, but if it's really in the
> 1% range that's okay.

Yeah. I was most worried about compile time and size, but it seems to
not be a problem.

-eric




More information about the llvm-dev mailing list