[LLVMdev] getting debug info

Devang Patel devang.patel at gmail.com
Tue Sep 22 09:18:48 PDT 2009


On Mon, Sep 21, 2009 at 9:34 PM, Alvin Cheung <alvin.cheung at gmail.com> wrote:
> Hi all,
>
> I am wondering if someone can give me pointers to how to use the DI* classes
> defined in DebugInfo.h.  In particular, I am confused about how to get a MDNode
> from the GlobalVariable's that hold the debug info so that they can be passed
> into the DI* classes,

Now, MDNode is used to hold debug info. Which tool are you using to
generate llvm IR with debugging information ?
-
Devang

> and the difference between MDNode and NamedMDNode in
> general.  Thanks for your help.
>
> Alvin
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 
-
Devang




More information about the llvm-dev mailing list