compiler: encode user visible names if necessary
Avoid putting weird characters into the user visible name.
It breaks stabs in particular, and may also cause debugger problems.
Instead, encode those names, and use a "g." prefix to tell the debugger.
Also dereference the type for the name of a recover thunk, to avoid a
pointless '*' that gets encoded.
Trust: Ian Lance Taylor <email@example.com>
Reviewed-by: Cherry Zhang <firstname.lastname@example.org>
4 files changed