public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug demangler/102851] New: Failure to demangle c++ symbol
@ 2021-10-20 6:22 hasse.christoph at cern dot ch
2021-10-24 6:14 ` [Bug demangler/102851] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: hasse.christoph at cern dot ch @ 2021-10-20 6:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102851
Bug ID: 102851
Summary: Failure to demangle c++ symbol
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: demangler
Assignee: unassigned at gcc dot gnu.org
Reporter: hasse.christoph at cern dot ch
Target Milestone: ---
As far as I now understand c++filt uses libiberty to demangle which is part of
GCC, so filing this bug here.
Originally observed in perf, but reproduced with c++filt Version 2.36.1
Symbol:
_ZZNK5Gaudi10Functional7details16MultiTransformerIFSt5tupleIJSt6vectorIN4LHCb13VPFullClusterESaIS6_EESt5arrayIjLm53EEEERK12EventContextRKNS5_8RawEventERK4DeVPENS0_6Traits4use_IJNS5_7DetDesc21useConditionHandleForIJSI_EEENSM_11BaseClass_tINSO_23ConditionAccessorHolderI10FixTESPathINS_9AlgorithmEEEEEEEEELb0EE7executeESE_ENKUlDpRT_E_clIJK21DataObjectWriteHandleIS8_S8_EKS15_ISA_SA_EEEEDaS12_
`llvm-cxxfilt` gives:
auto
Gaudi::Functional::details::MultiTransformer<std::tuple<std::vector<LHCb::VPFullCluster,
std::allocator<LHCb::VPFullCluster> >, std::array<unsigned int, 53ul> >
(EventContext const&, LHCb::RawEvent const&, DeVP const&),
Gaudi::Functional::Traits::use_<LHCb::DetDesc::useConditionHandleFor<DeVP>,
Gaudi::Functional::Traits::BaseClass_t<LHCb::DetDesc::ConditionAccessorHolder<FixTESPath<Gaudi::Algorithm>
> > >, false>::execute(EventContext const&)
const::'lambda'(auto&...)::operator()<DataObjectWriteHandle<std::vector<LHCb::VPFullCluster,
std::allocator<LHCb::VPFullCluster> >, std::vector<LHCb::VPFullCluster,
std::allocator<LHCb::VPFullCluster> > > const,
DataObjectWriteHandle<std::array<unsigned int, 53ul>, std::array<unsigned int,
53ul> > const>(auto&...) const
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug demangler/102851] Failure to demangle c++ symbol
2021-10-20 6:22 [Bug demangler/102851] New: Failure to demangle c++ symbol hasse.christoph at cern dot ch
@ 2021-10-24 6:14 ` pinskia at gcc dot gnu.org
2021-10-25 14:34 ` hasse.christoph at cern dot ch
2022-10-07 16:56 ` ppalka at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-10-24 6:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102851
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Do you have the C++ preprocessed source that produces this mangled symbol?
The lambda part might be causing the difference between LLVM and GCC and such.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug demangler/102851] Failure to demangle c++ symbol
2021-10-20 6:22 [Bug demangler/102851] New: Failure to demangle c++ symbol hasse.christoph at cern dot ch
2021-10-24 6:14 ` [Bug demangler/102851] " pinskia at gcc dot gnu.org
@ 2021-10-25 14:34 ` hasse.christoph at cern dot ch
2022-10-07 16:56 ` ppalka at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: hasse.christoph at cern dot ch @ 2021-10-25 14:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102851
--- Comment #2 from hasse.christoph at cern dot ch ---
Created attachment 51661
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51661&action=edit
Preprocessed source
Compile with g++ -O3 -DNDEBUG -g -o tmp.o -c preprocessed.cpp
objdump -d -C tmp.o | less
will show the non demangled symbol
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug demangler/102851] Failure to demangle c++ symbol
2021-10-20 6:22 [Bug demangler/102851] New: Failure to demangle c++ symbol hasse.christoph at cern dot ch
2021-10-24 6:14 ` [Bug demangler/102851] " pinskia at gcc dot gnu.org
2021-10-25 14:34 ` hasse.christoph at cern dot ch
@ 2022-10-07 16:56 ` ppalka at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2022-10-07 16:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102851
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
CC| |ppalka at gcc dot gnu.org
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
dup of PR97091 I think, which is about demangling a variadic auto lambda
*** This bug has been marked as a duplicate of bug 97091 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-10-07 16:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 6:22 [Bug demangler/102851] New: Failure to demangle c++ symbol hasse.christoph at cern dot ch
2021-10-24 6:14 ` [Bug demangler/102851] " pinskia at gcc dot gnu.org
2021-10-25 14:34 ` hasse.christoph at cern dot ch
2022-10-07 16:56 ` ppalka at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).