This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/17958] New: Systemtap doesn't like variables with ~ in their name
- From: "aram.h at mgk dot ro" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 11 Feb 2015 15:29:19 +0000
- Subject: [Bug translator/17958] New: Systemtap doesn't like variables with ~ in their name
- Auto-submitted: auto-generated
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.