This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/24327] @defined unable to handle $$parms and $$vars meta variables
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 13 Mar 2019 18:16:53 +0000
- Subject: [Bug translator/24327] @defined unable to handle $$parms and $$vars meta variables
- Auto-submitted: auto-generated
- References: <bug-24327-6586@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24327
--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
Looking around the systemtap code to see where the following problem code is
generated:
source: foreach (__val = [__idx0] in -)
It is coming from add_global_var_display in elaborate.cxx:
// Iterate over all indexes in the array, sorted by decreasing value
code << "foreach (";
if (l->type != pe_stats)
{
foreach_value = "__val";
code << foreach_value << " = ";
}
code << "[" << indexes << "] in " << l->unmangled_name << "-)" <<
endl;
--
You are receiving this mail because:
You are the assignee for the bug.