aboutsummaryrefslogtreecommitdiff
path: root/gdb/compile
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-04-24 15:35:01 -0600
committerTom Tromey <tromey@adacore.com>2020-04-24 15:35:02 -0600
commit787de330ee1471389cad1975eae65e566ad00448 (patch)
treecaac890fb1b06ec9faf8e15013c76bbbb2abc421 /gdb/compile
parentff985671077a60f82e3cd8bcceda3efa0f3fabe6 (diff)
downloadbinutils-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')
0 files changed, 0 insertions, 0 deletions