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/17958] New: Systemtap doesn't like variables with ~ in their name


https://sourceware.org/bugzilla/show_bug.cgi?id=17958

            Bug ID: 17958
           Summary: Systemtap doesn't like variables with ~ in their name
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: aram.h at mgk dot ro
                CC: mjw at redhat dot com

Go generates synthetic names for unnamed return argument of the form ~rN and
~bN. The linker will take these symbols and happily generate DWARF for them
using the same names, DWARF which will cause systemtap to:

/tmp/stap0HUzn4/stap_781fe1254d17c543f4a055e0fd334bdc_557047_src.c:15047:38:
error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before â~â token
 static void function__dwarf_tvar_get_~r0_259 (struct context * __restrict__
c);

Notice the ~ in the function name.

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