diff options
author | Tom Tromey <tromey@adacore.com> | 2021-07-06 13:05:27 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2021-08-02 10:48:30 -0600 |
commit | 965bc1df876f87dfc502169c0713ad275fba4803 (patch) | |
tree | e976d286da3d292e1249118e5561adf9d79cc857 /gdb/go-lang.c | |
parent | 9698f7141065f5eaea44a17331b3f29ae712a79e (diff) | |
download | binutils-965bc1df876f87dfc502169c0713ad275fba4803.zip binutils-965bc1df876f87dfc502169c0713ad275fba4803.tar.gz binutils-965bc1df876f87dfc502169c0713ad275fba4803.tar.bz2 |
Handle compiler-generated suffixes in Ada names
The compiler may add a suffix to a mangled name. A typical example
would be splitting a function and creating a ".cold" variant.
This patch changes Ada decoding (aka demangling) to handle these
suffixes. It also changes the encoding process to handle them as
well.
A symbol like "function.cold" will now be displayed to the user as
"function[cold]". The "." is not simply preserved because that is
already used in Ada.
Diffstat (limited to 'gdb/go-lang.c')
0 files changed, 0 insertions, 0 deletions