This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16615] New: don't require access to dwarf_query in has_single_line_record()
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 20 Feb 2014 20:55:33 +0000
- Subject: [Bug translator/16615] New: don't require access to dwarf_query in has_single_line_record()
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16615
Bug ID: 16615
Summary: don't require access to dwarf_query in
has_single_line_record()
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: jlebon at redhat dot com
The function iterate_over_srcfile_lines() iterates over target lines specified
by the user. When a line corresponds to multiple addresses,
iterate_over_srcfile_lines() looks around the area to see if there is another
line that we could suggest to users that has a single line record, which is why
has_single_line_record() is used.
The issue is that has_single_line_record() requires access to
q->filtered_functions and q->filtered_inlines to ensure that the suggested
lines fall within functions the user targeted.
There are various FIXMEs and XXXs in these parts of the code related to
eventually getting rid of this coupling.
--
You are receiving this mail because:
You are the assignee for the bug.