Bug 26803 - c++filt fails to demangle a C++ symbol
Summary: c++filt fails to demangle a C++ symbol
Status: RESOLVED NOTABUG
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.33
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-29 00:18 UTC by yuri
Modified: 2020-10-29 17:35 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuri 2020-10-29 00:18:53 UTC
_ZZN3Zzz4Uuuu27aaaAaaaAaaaaaAaaaaaaaAoooooERKNSt3__15arrayIjLm2EEES5_NS_6QqqQqqENS1_8functionIFvS5_S6_EEENS7_IFvvEEESB_SB_SB_ENK3

FreeBSD 12.2
binutils-2.33.1_3,1
Comment 1 Nick Clifton 2020-10-29 11:08:20 UTC
Hi Yuri,

  What is the expected demangling of this symbol ?

  How was the symbol constructed ?

  Does the problem persist if you use the latest version of the binutils ?

  The demangling of C++ symbols is performed by the libiberty library.
  The sources for this library are included as part of the binutils,
  but they are actually maintained by the GCC project.  So this bug
  really needs to be reported there rather than here.

Cheers
  Nick
Comment 2 yuri 2020-10-29 17:35:11 UTC
The symbol in question is truncated, it had the dollar sign and more characters in the end. In its complete form binutils does demangle it correctly. It resulted from the C++ lambda function.

Sorry for the disturbance!

Yuri