This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/10299] mangle local variable names


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

Serguei Makarov <smakarov at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sourceware dot |smakarov at redhat dot com
                   |org                         |

--- Comment #6 from Serguei Makarov <smakarov at redhat dot com> 2012-06-07 20:04:55 UTC ---
Created attachment 6440
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6440
Basic update of translator naming behaviour

This is (tentatively speaking) a patch that changes translate.cxx to generate
mangled local names. It seems to work well, excepting of course when we use
existing code with embedded-C functions.

It might be possible to just update all of the tapsets to use some ARG(foo)
macro, add a command line flag (or similar) to cause the translator to return
to the old mangling behaviour, and that would probably wrap up work on the bug.

The other viable alternative is jistone's suggestion of using different
mangling behaviour for embedded-C functions versus regular functions. It will
be a bit tricky to get this information available at the time when we do
mangling in the current design.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]