[llvm-commits] [llvm] r130409 - /llvm/trunk/lib/VMCore/AsmWriter.cpp
Devang Patel
dpatel at apple.com
Mon May 23 09:58:19 PDT 2011
On May 21, 2011, at 11:31 AM, Chris Lattner wrote:
>
> On Apr 28, 2011, at 10:41 AM, Devang Patel wrote:
>
>> Author: dpatel
>> Date: Thu Apr 28 12:41:38 2011
>> New Revision: 130409
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=130409&view=rev
>> Log:
>> Add command line option to print debug info in human readable form as comment in llvm IR output. This, i.e -enable-debug-info-comment, is very useful if you want to easily find out which optimization pass is losing line number information.
>
> Hi Devang, why don't you implement this as an AssemblyAnnotationWriter? That's the entire point of having that API. :)
I did not find a way to use AssemblyAnnotationWriter from default AsmWriter such that I can have this info available @ gdb prompt. Thoughts ?
-
Devang
More information about the llvm-commits
mailing list