[PATCH] Set DEMANGLE_RECURSION_LIMIT to 1536
Pedro Alves
palves@redhat.com
Tue Dec 11 10:34:00 GMT 2018
On 12/11/2018 12:33 AM, Jeff Law wrote:
> Actually I would strongly suggest avoiding alloca completely. This
> isn't particularly performance sensitive code
On the contrary, the demangler is very performance-sensitive code for GDB.
See <https://sourceware.org/ml/binutils/2018-11/msg00257.html>
and Tromey's response.
> and alloca can be abused
> in all kinds of interesting ways.
Thanks,
Pedro Alves
More information about the Gcc-patches
mailing list