https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250702

--- Comment #5 from Yuri Victorovich <y...@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.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to