commit | 965bc1df876f87dfc502169c0713ad275fba4803 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Tue Jul 06 13:05:27 2021 -0600 |
committer | Tom Tromey <tromey@adacore.com> | Mon Aug 02 10:48:30 2021 -0600 |
tree | e976d286da3d292e1249118e5561adf9d79cc857 | |
parent | 9698f7141065f5eaea44a17331b3f29ae712a79e [diff] |
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.