[LLVMdev] Is it possible to step through LLVM IR with GDB?

Jakob Stoklund Olesen stoklund at 2pi.dk
Sun May 16 13:50:58 PDT 2010


On May 15, 2010, at 12:20 AM, Patrick Alexander Simmons wrote:

> Is it possible to compile LLVM source in such a way that it's possible 
> to step through it with GDB (and hopefully frontends like DDD as well)?

You would need to have debug info that refers to a .ll file instead of a .c file. That should be entirely possible, but nobody has written the code to generate such debug info yet.

/jakob





More information about the llvm-dev mailing list