RFC: libiberty PATCH to disable demangling of ancient mangling schemes

Jason Merrill jason@redhat.com
Fri Dec 7 21:00:00 GMT 2018


On 12/7/18 12:48 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
> 
> Pedro> I would say that it's very, very unlikely, and not worth it of the
> Pedro> maintenance burden.
> 
> Agreed, and especially true for the more unusual demanglings like Lucid
> or EDG.
> 
> On the gdb side perhaps we can get rid of "demangle-style" now.  It
> probably hasn't worked properly in years, and after this it would be
> guaranteed not to.

So, here's the patch to tear out the old code, which passes the GCC 
regression testsuite.  I also tried building binutils/gdb with it, and 
both will need to remove code that calls cplus_mangle_opname for dealing 
with the old mangling scheme.

Jason
-------------- next part --------------
A non-text attachment was scrubbed...
Name: old-dem-remove.diff
Type: text/x-patch
Size: 196381 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181207/45c58cfd/attachment.bin>


More information about the Gcc-patches mailing list