Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 2021 19:05:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252443] c++filt demangles particular C++ symbol wrong
Message-ID:  <bug-252443-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252443

            Bug ID: 252443
           Summary: c++filt demangles particular C++ symbol wrong
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org
 Attachment #221301 text/plain
         mime type:

Created attachment 221301
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D221301&action=
=3Dedit
testcase-templated-method.cpp

Wrong (ccc is called with G<bool>, not G<CO>):
> $ nm testcase-templated-method.o | grep ccc | c++filt
>                  U void G<CO>::ccc<bool>(G const&<CO>)


Correct with c++filt from devel/binutils:
> $ nm testcase-templated-method.o | grep ccc | /usr/local/bin/c++filt
>                  U void G<CO>::ccc<bool>(G<bool> const&)

Correct with llbm's c++filt:
> $ nm testcase-templated-method.o | grep ccc | /usr/local/llvm10/bin/llvm-=
cxxfilt
>                  U void G<CO>::ccc<bool>(G<bool> const&)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-252443-227>