Fix a failure in the libiberty testsuite by increasing the recursion limit to 2048.

PR 88409
include	* demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048.

binutils* NEWS: Note that recursion limit has increased to 2048.
	* doc/binutils.texi: Likewise.
This commit is contained in:
Nick Clifton
2018-12-11 12:01:15 +00:00
parent 99e1a184a7
commit 69799d67e8
5 changed files with 16 additions and 6 deletions

View File

@@ -77,7 +77,7 @@ extern "C" {
/* If DMGL_NO_RECURSE_LIMIT is not enabled, then this is the value used as
the maximum depth of recursion allowed. It should be enough for any
real-world mangled name. */
#define DEMANGLE_RECURSION_LIMIT 1024
#define DEMANGLE_RECURSION_LIMIT 2048
/* Enumeration of possible demangling styles.