Displaying 2 results from an estimated 2 matches for "f664d3a0".
2011 Mar 25
0
[LLVMdev] set line number debug info
...ut Instruction::setDebugLoc().
>> llvm/Support/DebugLoc.h and llvm/Analysis/DIBuilder.h will likely be
>> helpful as well.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110325/f664d3a0/attachment.html>
2011 Mar 25
2
[LLVMdev] set line number debug info
Thanks for the help.
I thought I'd solved the problem (setting the line number information in the
instruction metadata) by inserting my own function for setting line number
in llvm/Support/DebugLoc.h. I have added a function setLine(unsigned) in
DebugLoc class. The function simply sets the LineCol variable as needed. But
there is a problem.
Whenever I'm checking the line number(calling