[Bug 252443] c++filt demangles particular C++ symbol wrong
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jan 5 19:05:04 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252443
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 at FreeBSD.org
Reporter: yuri at freebsd.org
Attachment #221301 text/plain
mime type:
Created attachment 221301
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=221301&action=edit
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&)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list