diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-12-10 21:07:27 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-12-11 09:57:30 -0800 |
commit | ab264f4b39c69ee6be595c56110eaa23600f75e7 (patch) | |
tree | 11c1b635b052f87aaec7bb463b80443894b740aa /libstdc++-v3 | |
parent | e36ce56e81b440a97b32e527f208f26923b7aed2 (diff) | |
download | gcc-ab264f4b39c69ee6be595c56110eaa23600f75e7.zip gcc-ab264f4b39c69ee6be595c56110eaa23600f75e7.tar.gz gcc-ab264f4b39c69ee6be595c56110eaa23600f75e7.tar.bz2 |
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.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/277232
Diffstat (limited to 'libstdc++-v3')
0 files changed, 0 insertions, 0 deletions