[LLVMdev] getting debug info

Alvin Cheung alvin.cheung at gmail.com
Mon Sep 21 21:34:58 PDT 2009

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, and the difference between MDNode and NamedMDNode in 
general.  Thanks for your help.


More information about the llvm-dev mailing list