[LLVMdev] crash in JIT when running the inliner
Duncan Sands
baldrick at free.fr
Thu Aug 7 00:39:52 PDT 2008
Hi,
> Today I've been trying to debug a weird bug that makes JIT crash with
> certain code and when using the inliner. This may sound weird, but if I
> disable the inliner, it doesn't crash.
> I include an example gdb dump below. Does something looks wrong? Do you
> think it's a bug in JIT or it's just some other piece of code that is
> writing on the JIT memory?.. I don't really know how to debug this..
my guess is that the code you are jitting is scribbling over
memory.
> Any help/tips/whatever would be greatly appreciated.
Try running under valgrind.
Ciao,
Duncan.
More information about the llvm-dev
mailing list