[Bug translator/13009] Allow @defined($foo) in probe predicates
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Jul 20 23:14:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=13009
--- Comment #2 from Josh Stone <jistone at redhat dot com> 2011-07-20 23:13:42 UTC ---
(In reply to comment #1)
> "But this gives "semantic error: unexpected @defined". "
>
> That's odd - the code should accept pretty general expressions.
That's coming from typeresolution_info::visit_defined_op, as it's not expecting
@defined expressions to survive this far. We may just need to tweak all the
var_expanding_visitor invocations to visit the predicate too.
> "and probes with empty bodies are discarded entirely."
>
> That's bug #11353.
Ah, yes, thanks for jogging my memory.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list