<br><div>Hi everyone,</div><div><br></div><div>I was under the impression that debugging support on llvm-gcc-4.2.1 + llvm-2.7 was pretty complete (at least on x86 linux), but ran into a glitch.</div><div><br></div><div>First off, are there any docs that discuss the current state, in so far as DWARF support is concerned?</div>
<div><br></div><div>The behavior I am seeing is the following:</div><div><br></div><div>llvm-gcc -g hello.c -o hello </div><div><br></div><div>produces a working executable with apparently complete debugging support. (stepping</div>
<div><br></div><div>However, </div><div><br></div><div>llvm-gcc -g -c -emit-llvm hello.c -o hello.bc</div><div>llc hello.bc -o hello.s</div><div>llvm-gcc -g hello.s -o hello</div><div><br></div><div>seem to produce an executable that gdb7 has some issues with, such as inability to examine variables... (but stepping/nexting seem to be okay, and line numbers show up properly</div>
<div><br></div><div>So is this an llvm-gcc issue? or is this an issue with llvm itself?</div><div><br></div><div>I'm willing to help out on this, so someone please point me in the right direction.</div><div><br></div>
<div>The most specific doc that talks about debugging was the <a href="http://www.llvm.org/docs/DebuggingJITedCode.html">http://www.llvm.org/docs/DebuggingJITedCode.html</a> </div><div>It seems to indicate that debugging support was at least partial.</div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><div>Thanks.</div><div><br></div><div>-jason</div><div><br></div>