diff options
author | Tom Tromey <tom@tromey.com> | 2020-04-24 15:35:01 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-24 15:35:02 -0600 |
commit | 787de330ee1471389cad1975eae65e566ad00448 (patch) | |
tree | caac890fb1b06ec9faf8e15013c76bbbb2abc421 /gdb/compile/compile-object-load.c | |
parent | ff985671077a60f82e3cd8bcceda3efa0f3fabe6 (diff) | |
download | binutils-787de330ee1471389cad1975eae65e566ad00448.zip binutils-787de330ee1471389cad1975eae65e566ad00448.tar.gz binutils-787de330ee1471389cad1975eae65e566ad00448.tar.bz2 |
Move the rust "{" hack
The DWARF reader has a special case to work around a bug in some
versions of the Rust compiler -- it ignores mangled names that contain
a "{" character.
I noticed that this check should probably be in dw2_linkage_name
rather than only in dwarf2_physname. The former is called in some
cases that the latter is not.
Also, I noticed that this work is not done for the partial DIE reader,
so this patch adds the check there as well.
gdb/ChangeLog
2020-04-24 Tom Tromey <tom@tromey.com>
* dwarf2/read.c (dw2_linkage_name): Move Rust "{" hack here...
(dwarf2_physname): ... from here.
(partial_die_info::read): Add Rust "{" hack.
Diffstat (limited to 'gdb/compile/compile-object-load.c')
0 files changed, 0 insertions, 0 deletions