Displaying 1 result from an estimated 1 matches for "prologendloc".
2013 Apr 26
0
[LLVMdev] Inconsistent use of is_stmt flag in .debug_line
...a function which:
1) Is associated with the line number of the beginning of the function
2) Comes before the end of the prologue
then we overwrite the earlier line table entry with a similar entry which lacks the is_stmt flag. The relevant code is:
unsigned Flags = 0;
PrevInstLoc = DL;
if (DL == PrologEndLoc) {
Flags |= DWARF2_FLAG_PROLOGUE_END;
PrologEndLoc = DebugLoc();
}
if (PrologEndLoc.isUnknown())
Flags |= DWARF2_FLAG_IS_STMT;
if (!DL.isUnknown()) {
const MDNode *Scope = DL.getScope(Asm->MF->getFunction()->getContext());
recordSourceLine(DL.getLine(), DL.getCol(), Scope,...