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++);
811 /* Walk on lines of blocks included in given DIE */
855 * die_walk_lines - Walk on lines inside given DIE
860 * Walk on all lines inside given @rt_die and call @callback on each line.
861 * If the @rt_die is a function, walk only on the lines inside the function,
868 Dwarf_Lines *lines;
895 /* Get lines list in the CU */
896 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0) {
897 pr_debug2("Failed to get source lines on this CU.\n");
900 pr_debug2("Get %zd lines from this CU\n", nlines);
902 /* Walk on the lines on lines list */
904 line = dwarf_onesrcline(lines, i);
918 /* Filter lines based on address */
951 * Dwarf lines doesn't include function declarations and inlined
957 * inner inlined functions don't have the lines of the
1296 * @lines: Line records of single CU
1297 * @nr_lines: Number of @lines
1301 * Search for @addr by looping over every lines of CU. If address
1306 static bool die_search_idx(Dwarf_Lines *lines, unsigned long nr_lines,
1313 if (dwarf_lineaddr(dwarf_onesrcline(lines, i), &tmp))
1327 * @lines: Line records of single CU
1328 * @nr_lines: Number of @lines
1336 Dwarf_Lines *lines,
1348 line = dwarf_onesrcline(lines, entrypc_idx);
1353 line = dwarf_onesrcline(lines, i);
1386 dwarf_lineaddr(dwarf_onesrcline(lines, i - 1),
1409 Dwarf_Lines *lines = NULL;
1416 if (dwarf_getsrclines(cu_die, &lines, &nr_lines))
1419 if (!die_search_idx(lines, nr_lines, *entrypc, &entrypc_idx))
1422 if (!die_get_postprologue_addr(entrypc_idx, lines, nr_lines,