I've been struggling with this for a while. I've gone back and reviewed all the messages in this topic on the subject, and I still can't figure it out.<div><br></div><div>-- I'm disabling frame pointer elimination via "-disable-fp-elim"</div>
<div>-- I see debugging information in my .s file.</div><div>-- My command line for compiling the LLVM-generated looks like this:</div><div><br></div> gcc -g -O0 -x assembler ReflectionTest.s -o ReflectionTest -L/Users/talin/Projects/tart/build-eclipse/runtime -l runtime<div>
<br></div><div>-- here's what I see when I run 'dwarfdump':</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">> dwarfdump test/stdlib/ReflectionTest<br>
----------------------------------------------------------------------<br> File: test/stdlib/ReflectionTest (i386)<br>----------------------------------------------------------------------<br>.debug_info contents:<br>< EMPTY ></blockquote>
<div><div><br></div><div>-- When I try to debug in gdb, it prints this:</div><div><br></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">warning: Could not find object file "/var/folders/h6/h6He5G34EF8g9zpg3SNFF++++TI/-Tmp-//ccoTexQw.o" - no debug information available for "ReflectionTest.tart".</blockquote>
<div><div><div><br></div></div><div><div>-- <br>-- Talin<br>
</div></div></div>