demangle_symbol.cpp File Reference

#include <cstdlib>
#include "config.h"
#include "demangle_symbol.h"
#include "demangle_java_symbol.h"
#include "op_regex.h"
Include dependency graph for demangle_symbol.cpp:

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

Detailed Description

Demangle a C++ symbol

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon

Definition in file demangle_symbol.cpp.


Define Documentation

#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().


Function Documentation

char* cplus_demangle ( char const *  mangled,
int  options 
)

Referenced by demangle_symbol().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1