Displaying 2 results from an estimated 2 matches for "sedebuginfo".
Did you mean:
setdebuginfo
2011 Mar 25
0
[LLVMdev] set line number debug info
...;s working fully.
So, the solution is:-
To set the line number for an instruction -
1. Add a function in DebugLoc class located in llvm/Support/DebugLoc.h. Set
the line number there to the private variable called LineCol.
2. Call the added function. And then pass the modified DebugLoc object to
the seDebugInfo method for the instruction.
Abhirup Ghosh
M. Tech
Department of Computer Science & Engg.
IIT, Bombay
email - abhirupju at gmail.com , abhirup at cse.iitb.ac.in
Contact - 9920735181 / 9434362120
On Fri, Mar 25, 2011 at 5:45 PM, Abhirup Ghosh <abhirupju at gmail.com> wrote:
> Thanks...
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