From dce76d2b39958d03b8769fd4f70ba9bad4cf5cc6 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 25 May 2005 23:32:35 +0000 Subject: [PATCH] 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. --- include/ChangeLog | 4 ++++ include/demangle.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 62a5eae34..6343df66c 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-05-25 Richard Henderson + + * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New. + 2005-05-24 Gabriel Dos Reis * libiberty.h (ACONCAT): Properly cast value of alloca(). diff --git a/include/demangle.h b/include/demangle.h index 944a95177..304a4c4e4 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,