Home | History | Annotate | Download | only in m_debuginfo

Lines Matching refs:line

83                N_SLINE = 68,    /* Source line number               */
113 Int line; /* first line */
120 Int prev; /* prev line */
121 Int no; /* current line */
122 Int ovf; /* line wrap */
123 Addr addr; /* start of this line */
124 Bool first; /* first line in function */
125 } line = { 0, 0, 0, 0, False };
129 68 N_SLINE a source line number
135 N_SLINEs are calculated, and stuffed into the line info table.
260 if (line.ovf != 0)
263 "Line numbers and annotation for this file might "
273 if (line.addr != 0) {
274 /* finish off previous line */
275 ML_(addLineInfo)(di, file.name, NULL, line.addr,
276 addr, line.no + line.ovf * LINENO_OVERFLOW, i);
279 /* reset line state */
280 line.ovf = 0;
281 line.addr = 0;
282 line.prev = 0;
283 line.no = 0;
295 case N_SLINE: { /* line info */
298 if (line.addr != 0) {
300 ML_(addLineInfo)(di, file.name, NULL, line.addr,
301 addr, line.no + line.ovf * LINENO_OVERFLOW, i);
304 line.addr = addr;
305 line.prev = line.no;
306 line.no = (Int)((UShort)st->n_desc);
308 if (line.prev > line.no + OVERFLOW_DIFFERENCE && file.same) {
310 "Line number overflow detected (%d --> %d) in %s\n",
311 line.prev, line.no, file.name);
312 line.ovf++;
316 /* This is pretty horrible. If this is the first line of
319 if (line.first) {
320 line.first = False;
322 /* remember first line of function */
324 func.line = line.no;
331 Addr addr = 0; /* end address for prev line/scope */
337 line.first = False;
339 /* end line at end of function */
350 line.first = True;
352 /* line ends at start of next function */
358 if (line.addr) {
359 ML_(addLineInfo)(di, file.name, NULL, line.addr,
360 addr, line.no + line.ovf * LINENO_OVERFLOW, i);
361 line.addr = 0;