Displaying 2 results from an estimated 2 matches for "variabledbginfos".
Did you mean:
variabledbginfo
2013 Sep 29
2
[LLVMdev] StackColoring remaps debug info from unrelated functions
..., DebugLoc> &VP = VI->second;
if (SlotRemap.count(VP.first)) {
DEBUG(dbgs()<<"Remapping debug info for ["<<Var->getName()<<"].\n");
VP.first = SlotRemap[VP.first];
FixedDbg++;
}
}
Note that this iterates over all VariableDbgInfos of all functions
(since it is a Machine*Module*Info), but it only checks if the frame
index matches, not if Var is actually in the current MachineFunction.
This causes the StackColoring pass to change the frame index from 0 to
27 in my simple small function due to some optimisation in a complet...
2013 Sep 30
0
[LLVMdev] StackColoring remaps debug info from unrelated functions
...econd;
> if (SlotRemap.count(VP.first)) {
> DEBUG(dbgs()<<"Remapping debug info for ["<<Var->getName()<<"].\n");
> VP.first = SlotRemap[VP.first];
> FixedDbg++;
> }
> }
>
>
> Note that this iterates over all VariableDbgInfos of all functions (since it is a Machine*Module*Info), but it only checks if the frame index matches, not if Var is actually in the current MachineFunction.
>
> This causes the StackColoring pass to change the frame index from 0 to 27 in my simple small function due to some optimisation in a...