#include <cstdlib>
#include "config.h"
#include "demangle_symbol.h"
#include "demangle_java_symbol.h"
#include "op_regex.h"
Go to the source code of this file.
Namespaces | |
namespace | options |
Defines | |
#define | DMGL_PARAMS (1 << 0) |
#define | DMGL_ANSI (1 << 1) |
Functions | |
char * | cplus_demangle (char const *mangled, int options) |
string const | demangle_symbol (string const &name) |
Variables | |
demangle_type | options::demangle = dmt_normal |
Demangle a C++ symbol
Definition in file demangle_symbol.cpp.
#define DMGL_ANSI (1 << 1) |
Include const, volatile, etc
Definition at line 25 of file demangle_symbol.cpp.
Referenced by demangle_symbol().
#define DMGL_PARAMS (1 << 0) |
Include function args
Definition at line 22 of file demangle_symbol.cpp.
Referenced by demangle_symbol().
char* cplus_demangle | ( | char const * | mangled, | |
int | options | |||
) |
string const demangle_symbol | ( | string const & | name | ) |
Definition at line 36 of file demangle_symbol.cpp.
References cplus_demangle(), options::demangle, demangle_java_symbol(), DMGL_ANSI, DMGL_PARAMS, dmt_none, dmt_smart, regular_expression_replace::execute(), OP_DATADIR, and setup_regex().
Referenced by symbol_name_storage::demangle(), and demangle_java_symbol().