Hi,
1. Below code gives me end column number of the machine instruction.
How can I get the start column number ?
const MachineInstr *First;
..... //First is assigned.
DebugLoc MIDB = First->getDebugLoc();
col_begin = MIDB.getCol();
2. -----------------
If my C block is
{
int t = 10;
}
This gives me value 20, instead of 9.
-----------------
3. In DebugLoc the getCol() method is defined as:
unsigned getCol()const {
return LineCol >> 24;
}
Is the some other shifting required to get the start column number?
4. Though I see the information under DW_TAG_lexical_block in ".ll"
file. Can I access this information using DebugLo?
Regards,
Pankaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20111109/d22459c9/attachment.html>