Bug 26803

Summary: c++filt fails to demangle a C++ symbol
Product: binutils Reporter: yuri
Component: binutilsAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED NOTABUG    
Severity: normal CC: nickc
Priority: P2    
Version: 2.33   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

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