Displaying 3 results from an estimated 3 matches for "runtime_func".
2012 Oct 18
0
[LLVMdev] Debugging LLVM IR with GDB
> Has anybody debugged LLVM IR with GDB? I'm using dragonegg to transform C
> into IR, then applying my optimizations. Passing "-g" to dragonegg doesn't
> seem to work since it generates debug info for the C code, not the IR. I
> really need GDB (lli doesn't solve my problems) in order to debug
> multi-threaded and multi-process MPI code.
>
> More
2012 Oct 18
4
[LLVMdev] Debugging LLVM IR with GDB
...b) n
14 %and.i.i.i.i104 = and i64 %4, 70368744177660
(gdb) n
15 %5 = load i8** @global, align 8
(gdb) n
18 store i32 16843009, i32* %6, align 1
(gdb) n
19 store i8 1, i8* getelementptr inbounds ([1 x i8]* @array,
i64 0, i64 0), align 1
(gdb) n
20 call coldcc void @runtime_func() nounwind
(gdb) n
11 while(i-- > argc)
(gdb) n
23 %and.i.i.i.i85 = and i64 %7, 70368744177660
(gdb) n
14 while(j++ < i) k += j;
(gdb) n
11 while(i-- > argc)
(gdb) n
14 while(j++ < i) k += j;
(gdb) n
102 %77 = load i8** @global, align 8
(gdb)...
2012 Oct 17
5
[LLVMdev] Debugging LLVM IR with GDB
Hi all,
Has anybody debugged LLVM IR with GDB? I'm using dragonegg to transform
C into IR, then applying my optimizations. Passing "-g" to dragonegg
doesn't seem to work since it generates debug info for the C code, not
the IR. I really need GDB (lli doesn't solve my problems) in order to
debug multi-threaded and multi-process MPI code.
More clearly, if I have a file