Figured out my problem, mailing the list in case anyone else runs into the same issue.  I had updated the LLVM tools to the svn version, but not the front end.  It seems that debugging information is handled differently with the latest version of the tools (perhaps as a result of this <a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-September/025648.html">proposal</a>?).  I ended up grabbing a prerelease of llvm2.6 found <a href="http://llvm.org/prereleases/2.6/">here</a>, and building both the front end and the LLVM tools from source.  Using tools from a consistent period in time solved my problem--oops!<div>
<br></div><div>Thanks to everyone who tried to help out :).</div><div><br></div><div>-Nick<br><br><div class="gmail_quote">On Thu, Sep 17, 2009 at 2:20 AM, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Nick Jalbert wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks for the quick responses, but unfortunately still no luck:<br>
<br>
 > llvm-g++ -g -O0 -c -emit-llvm test.cpp<br>
 > llc -O0 test.o<br>
 > g++ test.o.s<br>
 > ./a.out My return address is 0x400bb2<br>
 > addr2line 0x400bb2<br>
??:0<br>
<br>
Also to further implicate llc, this works:<br>
<br>
 > llvm-g++ -g -O0 -S test.cpp  > g++ test.s  > ./a.out My return address is 0x400bf9<br>
 > addr2line 0x400bf9<br>
/home/jalbert/llvmtest//test.cpp:13<br>
<br>
Anymore thoughts?<br>
</blockquote>
<br></div>
maybe try passing -disable-fp-elim to llc?<br>
<br>
Ciao,<br><font color="#888888">
<br>
Duncan.<br>
</font></blockquote></div><br></div>