Previous code could not resolve a reference to a private global
(defined in a tapset) within a probe alias (from that same tapset).
We now try matching up the mangled name in addition to the plain one
in symresolution_info::find_var() when searching the
session.library_files[].globals.
for (unsigned j=0; j<f->globals.size(); j++)
{
vardecl* g = f->globals[j];
- if (g->name == gname)
+ if ((g->name == gname) ||
+ (g->name == pname)) // private global within tapset
{
g->set_arity (arity, tok);