Displaying 1 result from an estimated 1 matches for "debuglo".
Did you mean:
debugloc
2011 Nov 09
0
[LLVMdev] Start column from DebugLoc of MachineInstr
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 >...