Patrick Alexander Simmons
2010-May-15 07:20 UTC
[LLVMdev] Is it possible to step through LLVM IR with GDB?
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)? Thanks in advance, --Patrick
Duncan Sands
2010-May-15 12:22 UTC
[LLVMdev] Is it possible to step through LLVM IR with GDB?
On 15/05/10 09:20, 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)?Configure with --disable-optimized Ciao, Duncan.
Patrick Simmons
2010-May-16 20:33 UTC
[LLVMdev] Is it possible to step through LLVM IR with GDB?
On 05/15/10 06:22, Duncan Sands wrote:> On 15/05/10 09:20, 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)? >> > Configure with --disable-optimized > > Ciao, > > Duncan. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >Sorry, I should have been more clear. I want to step through the LLVM IR of programs compiled with llc. --Patrick -- If I'm not here, I've gone out to find myself. If I get back before I return, please keep me here.
Jakob Stoklund Olesen
2010-May-16 20:50 UTC
[LLVMdev] Is it possible to step through LLVM IR with GDB?
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