]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
Treat autocast pointer indirection as tracepoints do
authorJosh Stone <jistone@redhat.com>
Tue, 10 Jun 2014 20:20:13 +0000 (13:20 -0700)
committerJosh Stone <jistone@redhat.com>
Tue, 10 Jun 2014 20:30:23 +0000 (13:30 -0700)
commit37efef735273766ba232fe78a6d574e05cc65c3e
tree68630a8978e8b0c9cfe8894bc05869533c7b439a
parent1cda9c440df57dd24552d825f54fc95b2e0c1676
Treat autocast pointer indirection as tracepoints do

With '&' addressof, @cast, and other oddities, it wasn't always clear
whether the type die in an autocast described the given value or the thing
that value is pointing too.

Tracepoints already solved that problem, so we can reuse its is_pointer
logic.  Now we always try to make the type die refer to the pointee, and
is_pointer indicates if our value is such a pointer.  If not, then its an
error to try dereferencing it, for example with a direct base type.
tapsets.cxx
This page took 0.027566 seconds and 5 git commands to generate.