Lines Matching defs:lines
66 Dwarf_Lines *lines;
71 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0 ||
79 line = dwarf_onesrcline(lines, n);
89 line = dwarf_onesrcline(lines, --l);
96 line = dwarf_onesrcline(lines, l++);
792 /* Walk on lines of blocks included in given DIE */
836 * die_walk_lines - Walk on lines inside given DIE
841 * Walk on all lines inside given @rt_die and call @callback on each line.
842 * If the @rt_die is a function, walk only on the lines inside the function,
849 Dwarf_Lines *lines;
871 /* Get lines list in the CU */
872 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0) {
873 pr_debug2("Failed to get source lines on this CU.\n");
876 pr_debug2("Get %zd lines from this CU\n", nlines);
878 /* Walk on the lines on lines list */
880 line = dwarf_onesrcline(lines, i);
894 /* Filter lines based on address */
927 * Dwarf lines doesn't include function declarations and inlined
933 * inner inlined functions don't have the lines of the
1270 * @lines: Line records of single CU
1271 * @nr_lines: Number of @lines
1275 * Search for @addr by looping over every lines of CU. If address
1280 static bool die_search_idx(Dwarf_Lines *lines, unsigned long nr_lines,
1287 if (dwarf_lineaddr(dwarf_onesrcline(lines, i), &tmp))
1301 * @lines: Line records of single CU
1302 * @nr_lines: Number of @lines
1310 Dwarf_Lines *lines,
1322 line = dwarf_onesrcline(lines, entrypc_idx);
1327 line = dwarf_onesrcline(lines, i);
1360 dwarf_lineaddr(dwarf_onesrcline(lines, i - 1),
1383 Dwarf_Lines *lines = NULL;
1390 if (dwarf_getsrclines(cu_die, &lines, &nr_lines))
1393 if (!die_search_idx(lines, nr_lines, *entrypc, &entrypc_idx))
1396 if (!die_get_postprologue_addr(entrypc_idx, lines, nr_lines,