aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-05-25 23:32:35 +0000
committerRichard Henderson <rth@redhat.com>2005-05-25 23:32:35 +0000
commitdce76d2b39958d03b8769fd4f70ba9bad4cf5cc6 (patch)
tree22bfdb569c67858cb949bbd9b8d03fe5c73c43c7
parent09731f7fbc08a13a2e6b4f8b8a2347e7bbdf6d99 (diff)
downloadnewlib-dce76d2b39958d03b8769fd4f70ba9bad4cf5cc6.zip
newlib-dce76d2b39958d03b8769fd4f70ba9bad4cf5cc6.tar.gz
newlib-dce76d2b39958d03b8769fd4f70ba9bad4cf5cc6.tar.bz2
include/
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS. (d_make_comp, d_print_comp): Likewise. (d_special_name): Generate one. * testsuite/demangle-expected: Add a hidden alias test.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/demangle.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 62a5eae..6343df6 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-25 Richard Henderson <rth@redhat.com>
+
+ * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
+
2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
* libiberty.h (ACONCAT): Properly cast value of alloca().
diff --git a/include/demangle.h b/include/demangle.h
index 944a951..304a4c4 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -239,6 +239,9 @@ enum demangle_component_type
/* A reference temporary. This has one subtree, the name for which
this is a temporary. */
DEMANGLE_COMPONENT_REFTEMP,
+ /* A hidden alias. This has one subtree, the encoding for which it
+ is providing alternative linkage. */
+ DEMANGLE_COMPONENT_HIDDEN_ALIAS,
/* A standard substitution. This holds the name of the
substitution. */
DEMANGLE_COMPONENT_SUB_STD,