[Bug translator/17958] New: Systemtap doesn't like variables with ~ in their name
aram.h at mgk dot ro
sourceware-bugzilla@sourceware.org
Wed Feb 11 15:29:00 GMT 2015
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.
More information about the Systemtap
mailing list