Date: Thu, 29 Oct 2020 20:00:11 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 250702] c++filt crashes on a particular symbol Message-ID: <bug-250702-29464-8EfPXhYyJq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250702-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-250702-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250702 --- Comment #5 from Yuri Victorovich <yuri@freebsd.org> --- (In reply to Dimitry Andric from comment #4) This code: > void func1() { > auto func2 = []() { > }; > func2(); > } creates the symbol _ZZ5func1vENK3\$_0clEv that c++filt from the bases asserts on: > $ c++filt "_ZZ5func1vENK3\$_0clEv" > Assertion failed: (ddata->output.size > 0), function cpp_demangle_read_sname, file /usr/src/contrib/elftoolchain/libelftc/libelftc_dem_gnu3.c, line 2138. > Abort trap but c++filt from binutils-2.35.1,1 decodes fine: > $ /usr/local/bin/c++filt "_ZZ5func1vENK3\$_0clEv" > func1()::$_0::operator()() const -- 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-250702-29464-8EfPXhYyJq>
