<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div style="RIGHT: auto">Hi,</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">1. Below code gives me end column number of the machine instruction. </div>
<div style="RIGHT: auto">   How can I get the start column number ?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">const MachineInstr *First;</div>
<div style="RIGHT: auto">..... //First is assigned.</div>
<div style="RIGHT: auto">DebugLoc MIDB = First->getDebugLoc();</div>
<div style="RIGHT: auto">col_begin  = MIDB.getCol(); </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">2. -------------<VAR id=yui-ie-cursor></VAR>----</div>
<div style="RIGHT: auto">  If my C block is</div>
<div style="RIGHT: auto">    {</div>
<div style="RIGHT: auto">        int t = 10;</div>
<div style="RIGHT: auto">     }</div>
<div style="RIGHT: auto">  This gives me value 20, instead of 9. </div>
<div style="RIGHT: auto">-----------------</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">3. In DebugLoc the getCol() method is defined as:</div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto" class=keywordtype>unsigned</SPAN> <A class=code href="http://us.mg6.mail.yahoo.com/neo/classllvm_1_1DebugLoc.html#a434de54d8c6c36192e4b728fe5f00088"><FONT color=#0066cc>getCol</FONT></A>()<SPAN style="RIGHT: auto" class=keyword> const </SPAN>{<BR><A name=l00076></A>       <SPAN class=keywordflow>return</SPAN> LineCol >> 24;<BR>}</div>
<div style="RIGHT: auto">Is the some other shifting required to get the start column number?<BR style="RIGHT: auto"></div>
<div style="RIGHT: auto">4. Though I see the information under DW_TAG_lexical_block in ".ll" file. Can I access this information using DebugLo?</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">Regards,</div>
<div style="RIGHT: auto">Pankaj</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto"> </div></div></body></html>