[LLVMdev] Why -jit-emit-debug doesn't work with gdb-7.1 ?

Yuri yuri at rawbw.com
Sat Jun 19 20:53:39 PDT 2010


I have followed http://llvm.org/docs/DebuggingJITedCode.html, used the 
latest release gdb-7.1 (from March 18, 2010) and got this stack:

(gdb) bt
#0  0x35532156 in ?? ()
#1  0x355320f8 in ?? ()
#2  0x35532098 in ?? ()
#3  0x3553202e in ?? ()
#4  0x34a5661a in ?? ()
#5  0x349d9bd9 in ?? ()
#6  0x08052cd9 in main (argc=4, argv=0xbfbfe264, envp=0xbfbfe278) at 
/tmp/llvm-svn/llvm/tools/lli/lli.cpp:234

Did they not include llvm interface into 7.1 release?

On the side note: is option -disable-fp-elim also required for gdb? I am 
getting different stack depths in gdb with and without it.

Yuri



More information about the llvm-dev mailing list