diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-17 19:09:54 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-07-17 19:09:54 +0000 |
commit | 7ddff01e4296f5e0ea1a23a64738f5203dd7f5b0 (patch) | |
tree | 35a27ed8e0c745eb394b8267477a628113ffd7f3 /include/demangle.h | |
parent | 970c146debe1ff0cbe757daf863c8f01b0613219 (diff) | |
download | gcc-7ddff01e4296f5e0ea1a23a64738f5203dd7f5b0.tar.gz |
include
2009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* demangle.h
(enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
(enum demangle_component_type <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS>):
New.
libiberty
2009-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* cp-demangle.c (d_print_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
(d_print_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
(d_make_comp <DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS>)
(d_make_comp <DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS): New.
(d_demangle_callback): The variable type is now declared as enum.
Replace parser of _GLOBAL_ symbols by a d_make_comp call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149756 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'include/demangle.h')
-rw-r--r-- | include/demangle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/demangle.h b/include/demangle.h index eb39c7c13c4..0bcae2fdbbb 100644 --- a/include/demangle.h +++ b/include/demangle.h @@ -377,6 +377,10 @@ enum demangle_component_type DEMANGLE_COMPONENT_CHARACTER, /* A decltype type. */ DEMANGLE_COMPONENT_DECLTYPE, + /* Global constructors keyed to name. */ + DEMANGLE_COMPONENT_GLOBAL_CONSTRUCTORS, + /* Global destructors keyed to name. */ + DEMANGLE_COMPONENT_GLOBAL_DESTRUCTORS, /* A pack expansion. */ DEMANGLE_COMPONENT_PACK_EXPANSION }; |