Displaying 3 results from an estimated 3 matches for "4daee7b2".
2011 Mar 14
0
[LLVMdev] set line number debug info
On Mon, Mar 14, 2011 at 8:56 AM, Abhirup Ghosh <abhirupju at gmail.com> wrote:
> Hi,
> I am new to LLVM infrastructure. Recently I am trying to set the debug
> info for an instruction. The main aim is to set the source line number of an
> instruction. Can anyone please show how to do that?
> I think that setMetadata method in Instruction class is to be used.
>
2011 Mar 14
2
[LLVMdev] set line number debug info
Hi,
I am new to LLVM infrastructure. Recently I am trying to set the debug
info for an instruction. The main aim is to set the source line number of an
instruction. Can anyone please show how to do that?
I think that setMetadata method in Instruction class is to be used.
But how do I create MDNode* consisting of desired source line number. Source
line number can be extracted from the
2011 Mar 25
2
[LLVMdev] set line number debug info
...ou 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/attachments/20110325/4daee7b2/attachment.html>