diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-15 01:12:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-15 01:12:55 +0000 |
commit | a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49 (patch) | |
tree | e32b20a9b4065d58ffd0a8e1479f428fadb68ab5 /gold/symtab.h | |
parent | 2a1932dcc777a3aa4552a14aa917caf33f97427b (diff) | |
download | gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.zip gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.gz gdb-a2b1aa12f7d82dfd451e110bff8df16cdf6e2c49.tar.bz2 |
From Craig Silverstein: Add support for --demangle.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/symtab.h b/gold/symtab.h index 8206cba..b6e5504 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -98,6 +98,13 @@ class Symbol name() const { return this->name_; } + // Return the (ANSI) demangled version of the name, if + // parameters.demangle() is true. Otherwise, return the name. This + // is intended to be used only for logging errors, so it's not + // super-efficient. + std::string + demangled_name() const; + // Return the symbol version. This will return NULL for an // unversioned symbol. const char* |