Home | History | Annotate | Download | only in libdw

Lines Matching full:line

1 /* Find line information for given file/line/column triple.
88 /* Get the line number information for this file. */
101 /* Search through all the line number records for a matching
102 file and line/column number. If any of the numbers is zero,
108 Dwarf_Line *line = &lines->info[cnt];
110 if (lastfile != line->file)
112 lastfile = line->file;
113 if (lastfile >= line->files->nfiles)
120 const char *fname2 = line->files->info[lastfile].name;
129 /* See whether line and possibly column match. */
131 && (lineno > line->line
132 || (column != 0 && column > line->column)))
139 if (match[inner]->files == line->files
140 && match[inner]->file == line->file)
143 && (match[inner]->line != line->line
144 || match[inner]->line != lineno
146 && (match[inner]->column != line->column
150 match for the line number, use it. */
151 if (match[inner]->line >= line->line
152 && (match[inner]->line != line->line
153 || match[inner]->column >= line->column))
154 /* Use the new line. Otherwise the old one. */
155 match[inner] = line;
177 match[cur_match++] = line;