]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
Make autocast distinct from cast
authorJosh Stone <jistone@redhat.com>
Thu, 3 Apr 2014 00:34:25 +0000 (17:34 -0700)
committerJosh Stone <jistone@redhat.com>
Sat, 5 Apr 2014 00:33:55 +0000 (17:33 -0700)
commit251707c80bbee6640564a2d7d38c480a5c083740
treeeb1abf4609e0bbef04eb4f0731b19914c5d2c798
parenteff66d4087f2c1c99bd0658de1075b19a9854ac3
Make autocast distinct from cast

Some dwarf probes try to be helpful and fill in empty @cast modules, but
we don't want that for an automatic @cast that will determine its module
and type from its operand.  So let's just make autocast separate.

* parse.cxx (parser::parse_dwarf_value): Create autocast_op, and assign
  its token as that of the first addressof or peeked component.
* elaborate.cxx (void_statement_reducer::reduce_target_symbol): New,
  collapse any kind of target_symbol to its operand and indexes.  Call
  this in all the void_statement_reducer target_symbol-like visitors.
* [Lots of added visitor::visit_autocast_op...]
elaborate.cxx
elaborate.h
parse.cxx
staptree.cxx
staptree.h
tapsets.cxx
translate.cxx
This page took 0.028526 seconds and 5 git commands to generate.