I am sorry for my poor statement of my problem.<div>Yes, <meta http-equiv="content-type" content="text/html; charset=utf-8">f is right. </div><div>I want to know whether llvm could emit debugging information which GDB could use directly. Ex, how does the executable file generated from llc could be debug using gdb?</div>
<div>A simple demonstration is greatly appreciated. </div><div><div class="gmail_quote">2011/6/14 f <span dir="ltr"><<a href="mailto:chenwj@iis.sinica.edu.tw">chenwj@iis.sinica.edu.tw</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> Debug information can be placed in the assembler source. This is what<br>
> GCC does; you can see for yourself if you run<br>
> gcc -g -save-temps filename.c<br>
<br>
</div> I guess he want to ask if llc can emit debugging information which GDB<br>
can use.<br>
<br>
Regards,<br>
chenwj<br>
<font color="#888888"><br>
--<br>
Wei-Ren Chen (f)<br>
Computer Systems Lab, Institute of Information Science,<br>
Academia Sinica, Taiwan (R.O.C.)<br>
Tel:886-2-2788-3799 #1667<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<div><br></div><div>Li Qingan</div><br>
</div>