<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'>
    Hi,<BR>
   I wish to get the line number of source code in IR code. And I know that debuginfo.h will  suit to me. However, I met some problem about using the -g option.<BR>
   I have writtern a pass ,but I don't know how to run the pass with debug information. While I want to get the bc file with the debug information ,I have to use the <BR>
command "llvm-gcc -g -c -emit-llvm test.c -o test.bc". But I don't know what to do next. I try to run the command "lli test.bc". It will run error as follow<BR>
UNREACHABLE executed!<BR>0  lli 0x0864a9d9<BR>Stack dump:<BR>0. Program arguments: lli t2.bc <BR>1. Running pass 'X86 Machine Code Emitter' on function <A href="mailto:'@main'">'@main'</A><BR><FONT style="BACKGROUND-COLOR: #cce8cf">  If you follow the steps above ,there will be an error for all the test file .Would you please explain the right steps for me?</FONT><BR>
<FONT style="BACKGROUND-COLOR: #cce8cf">    Thanks!</FONT><BR>
<FONT style="BACKGROUND-COLOR: #cce8cf">                                                                                                                    Tang</FONT><BR>                                    </body>
</html>