]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Update libiberty demangler
authorMark Wielaard <mark@klomp.org>
Fri, 18 Apr 2025 12:53:44 +0000 (14:53 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 18 Apr 2025 13:01:01 +0000 (15:01 +0200)
Update the libiberty demangler using the auxprogs/update-demangler
script to gcc git commit 94bea5dd6c9a06ddb6244be1e5196ff5fbe2b186.

This update includes:

    * libiberty: Restore build with CP_DEMANGLE_DEBUG defined
    * non-gcc: Remove trailing whitespace
    * libiberty: Fix comment typos

auxprogs/update-demangler
coregrind/m_demangle/cp-demangle.c
coregrind/m_demangle/demangle.h
coregrind/m_demangle/dyn-string.h
coregrind/m_demangle/safe-ctype.h

index 9b62fffca565980a7e80f2c146c597144b3f2df8..39682397598afb1be025eedf366d5e38c4b6eb4a 100755 (executable)
@@ -17,8 +17,8 @@ set -e
 #---------------------------------------------------------------------
 
 # You need to modify these revision numbers for your update.
-old_gcc_revision=1719fa40c4ee4def60a2ce2f27e17f8168cf28ba # the revision of the previous update
-new_gcc_revision=ca2f7c84927f85b95f0f48f82b93f1460c372db4 # the revision for this update
+old_gcc_revision=ca2f7c84927f85b95f0f48f82b93f1460c372db4 # the revision of the previous update
+new_gcc_revision=94bea5dd6c9a06ddb6244be1e5196ff5fbe2b186 # the revision for this update
 
 # Unless the organization of demangler related files has changed, no
 # changes below this line should be necessary.
index b1a8d87e5934f75987dc31904e109ef3acc6b866..a3d1b8810b912cee18bf6f0b2fd30c08534de994 100644 (file)
@@ -672,9 +672,9 @@ d_dump (struct demangle_component *dc, int indent)
       return;
     case DEMANGLE_COMPONENT_EXTENDED_BUILTIN_TYPE:
       {
-       char suffix[2] = { dc->u.s_extended_builtin.type->suffix, 0 };
+       char suffix[2] = { dc->u.s_extended_builtin.suffix, 0 };
        printf ("builtin type %s%d%s\n", dc->u.s_extended_builtin.type->name,
-               dc->u.s_extended_builtin.type->arg, suffix);
+               dc->u.s_extended_builtin.arg, suffix);
       }
       return;
     case DEMANGLE_COMPONENT_OPERATOR:
index a51815347272f68d41f33456d81eb84df5f6c8c1..8b7dd705acd8bcebba545dcf17049d3b3ddc0566 100644 (file)
@@ -66,14 +66,14 @@ extern "C" {
 /* Disable a limit on the depth of recursion in mangled strings.
    Note if this limit is disabled then stack exhaustion is possible when
    demangling pathologically complicated strings.  Bug reports about stack
-   exhaustion when the option is enabled will be rejected.  */  
-#define DMGL_NO_RECURSE_LIMIT (1 << 18)        
+   exhaustion when the option is enabled will be rejected.  */
+#define DMGL_NO_RECURSE_LIMIT (1 << 18)
 
 /* 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 2048
-  
+
 /* Enumeration of possible demangling styles.
 
    Lucid and ARM styles are still kept logically distinct, even though
index 9052780c96d7e5c5f818a2c0711b11927ca6425f..b0a108d9fac7ae5c401482ae8c1d2e5f8d2e1bcf 100644 (file)
@@ -3,7 +3,7 @@
    Contributed by Mark Mitchell (mark@markmitchell.com).
 
 This file is part of GCC.
-   
+
 GCC is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2, or (at your option)
index fa9c85af4b91c8ea9a3cee98e635b87fce5af3d4..d3e5214d5818f122f6db932384c3d1bde706eb71 100644 (file)
@@ -122,7 +122,6 @@ extern const unsigned char  _sch_tolower[256];
 #if 0 /* in valgrind */
 #include <ctype.h>
 #endif /* ! in valgrind */
-
 #undef isalpha
 #define isalpha(c) do_not_use_isalpha_with_safe_ctype
 #undef isalnum