search for: setlinenumb

Displaying 4 results from an estimated 4 matches for "setlinenumb".

Did you mean: setlinenumber
2011 Mar 14
2
[LLVMdev] set line number debug info
...is to be used. But how do I create MDNode* consisting of desired source line number. Source line number can be extracted from the instruction-debug-info using getMetadata method and then using getLineNumber method from DILocation class. Unfortunately DILocation class does not have any function like setLinenumber. Abhirup Ghosh M. Tech Department of Computer Science & Engg. IIT, Bombay email - abhirupju at gmail.com , abhirup at cse.iitb.ac.in Contact - 9920735181 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/...
2011 Mar 14
0
[LLVMdev] set line number debug info
...ow do I create MDNode* consisting of desired source line number. Source > line number can be extracted from the instruction-debug-info using > getMetadata method and then using getLineNumber method from DILocation > class. Unfortunately DILocation class does not have any function like > setLinenumber. You may want to check out Instruction::setDebugLoc(). llvm/Support/DebugLoc.h and llvm/Analysis/DIBuilder.h will likely be helpful as well.
2011 Mar 25
2
[LLVMdev] set line number debug info
...nsisting of desired source line number. > Source > > line number can be extracted from the instruction-debug-info using > > getMetadata method and then using getLineNumber method from DILocation > > class. Unfortunately DILocation class does not have any function like > > setLinenumber. > > You may want to check out 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/attach...
2011 Mar 25
0
[LLVMdev] set line number debug info
...source line number. >> Source >> > line number can be extracted from the instruction-debug-info using >> > getMetadata method and then using getLineNumber method from DILocation >> > class. Unfortunately DILocation class does not have any function like >> > setLinenumber. >> >> You may want to check out 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...