aboutsummaryrefslogtreecommitdiff
path: root/include/demangle.h
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2002-02-05 11:33:31 -0500
committerJason Merrill <jason@gcc.gnu.org>2002-02-05 11:33:31 -0500
commitc13db5d119dd543d25d410ec9622be07e186bdff (patch)
tree421a01819111b8d1eef8a7b2067ed77dc62d91aa /include/demangle.h
parente07554eb1747af7a6fd6479ee38db3a04aa08e2d (diff)
downloadgcc-c13db5d119dd543d25d410ec9622be07e186bdff.zip
gcc-c13db5d119dd543d25d410ec9622be07e186bdff.tar.gz
gcc-c13db5d119dd543d25d410ec9622be07e186bdff.tar.bz2
demangle.h (cplus_demangle_v3): Add "options" parm.
* demangle.h (cplus_demangle_v3): Add "options" parm. (cplus_demangle_v3_type): Remove prototype. (DMGL_VERBOSE): New macro. (DMGL_TYPES): New macro. * cplus-dem.c (flags): Add DMGL_VERBOSE (cplus_demangle_v3_p): Remove. (demangle_it): Add DMGL_TYPES to passed flags. * cp-demangle.c (cplus_demangle_v3_all): Remove. (cplus_demangle_v3_type): Remove. (cplus_demangle_v3): Add options parm. * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. From-SVN: r49525
Diffstat (limited to 'include/demangle.h')
-rw-r--r--include/demangle.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/include/demangle.h b/include/demangle.h
index cbe2804..ad0569a 100644
--- a/include/demangle.h
+++ b/include/demangle.h
@@ -29,6 +29,8 @@
#define DMGL_PARAMS (1 << 0) /* Include function args */
#define DMGL_ANSI (1 << 1) /* Include const, volatile, etc */
#define DMGL_JAVA (1 << 2) /* Demangle as Java rather than C++. */
+#define DMGL_VERBOSE (1 << 3) /* Include implementation details. */
+#define DMGL_TYPES (1 << 4) /* Also try to demangle type encodings. */
#define DMGL_AUTO (1 << 8)
#define DMGL_GNU (1 << 9)
@@ -125,12 +127,7 @@ cplus_demangle_name_to_style PARAMS ((const char *name));
/* V3 ABI demangling entry points, defined in cp-demangle.c. */
extern char*
-cplus_demangle_v3 PARAMS ((const char* mangled));
-
-/* V3 ABI demangling entry points, defined in cp-demangle.c. Also
- demagle types. */
-extern char*
-cplus_demangle_v3_type PARAMS ((const char* mangled));
+cplus_demangle_v3 PARAMS ((const char* mangled, int options));
extern char*
java_demangle_v3 PARAMS ((const char* mangled));