[LLVMdev] Debug Information

John Criswell criswell at cs.uiuc.edu
Fri Oct 10 13:43:26 PDT 2008


Dear All,

Are there a set of libraries for easily manipulating the LLVM debug 
information?  For example, given an Instruction *, is there an interface 
that will find the nearest llvm.dbg.stoppoint(), or given an alloca, is 
there an interface for getting its source level information by tracing 
it to a llvm.dbg.declare()?

As far as I know, no such utility interfaces exist.  While I can role my 
own, I'd like to avoid re-inventing the wheel if such interfaces already 
exit.

Thanks in advance.

-- John T.





More information about the llvm-dev mailing list