summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
authorfche <fche>2006-04-25 17:58:28 +0000
committerfche <fche>2006-04-25 17:58:28 +0000
commitbdef2583fcf7270a613cc992772bc1a36f98cabb (patch)
treed442307e36beb79c08c05fbbe36874c3ac652a0a /elaborate.h
parent1b07c728305a32a8d1fa1bb5da9d428e34dddf4e (diff)
downloadsystemtap-steved-bdef2583fcf7270a613cc992772bc1a36f98cabb.tar.gz
systemtap-steved-bdef2583fcf7270a613cc992772bc1a36f98cabb.tar.xz
systemtap-steved-bdef2583fcf7270a613cc992772bc1a36f98cabb.zip
2006-04-25 Frank Ch. Eigler <fche@elastic.org>
* elaborate.cxx (typeresolution_info::unresolved,invalid, mismatch): Print current function/probe name in error message. (semantic_pass_types): Pass sufficient information. * elaborate.h: Corresponding changes.
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/elaborate.h b/elaborate.h
index 7317e940..2255037e 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -47,12 +47,13 @@ public:
struct typeresolution_info: public visitor
{
- typeresolution_info (systemtap_session& s): session (s) {}
+ typeresolution_info (systemtap_session& s);
systemtap_session& session;
unsigned num_newly_resolved;
unsigned num_still_unresolved;
bool assert_resolvability;
functiondecl* current_function;
+ derived_probe* current_probe;
void mismatch (const token* tok, exp_type t1, exp_type t2);
void unresolved (const token* tok);