[Bug translator/13296] New: inaccessible sdt.h operands of the form symbol(%reg)

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Oct 14 12:15:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=13296

             Bug #: 13296
           Summary: inaccessible sdt.h operands of the form   symbol(%reg)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


We have encountered cases where the compiler emits assembler operands
for sdt.h parameters that cannot possibly be processed by stap (like
in the case of referring to local labels that are lost during the
compilation/linking stage).  The cure for that has been to use
something like -DSTAP_SDT_ARG_CONSTRAINT=r to force values into
registers.

However, we should at least attempt to resolve globals in the symbol
table, within sdt_uprobe_var_expanding_visitor::visit_target_symbol_arg.

-- 
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