~ubuntu-branches/debian/sid/oprofile/sid

« back to all changes in this revision

Viewing changes to libregex/demangle_symbol.h

  • Committer: Bazaar Package Importer
  • Author(s): Al Stone
  • Date: 2008-02-10 11:51:49 UTC
  • mfrom: (4.1.1 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080210115149-9itpgjhw62l74o89
Tags: 0.9.3-2
* Closes: bug#415827 -- manpage corrected upstream so that all options are
  now unique
* Update to latest Debian standards version.
* Closes: bug#420815 -- find separate debug files in archive properly (patch
  applied)
* Closes: bug#450607 -- oprof_start no longer links against libbfd.so (used
  patch from submitter)
* Closes: bug#446360 -- similar problem with libbfd; the patch for 450607
  was more inclusive, though, so it also fixes this problem; thanks for the
  NMU, nonetheless.
* Closes: bug#447797 -- remove bashisms from opcontrol (used patch from
  ubuntu)
* Closes: bug#420760 -- cannot reproduce this problem in 0.9.3 (was reported
  with 0.9.2)
* Closes: bug#422178 -- cannot reproduce this problem in 0.9.3 (was reported
  with 0.9.2)
* Closes: bug#428299 -- latest Linux kernel (2.6.23-1 on dual core Intel) no
  longer shows this problem.
* Closes: bug#424760 -- invalid arithmetic expression in opcontrol script
  replaced in newer versions
* Closes: bug#456069 -- patched C++ files to accommodate changes in the
  header files for g++ 4.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * @file demangle_symbol.h
3
 
 * Demangle a C++ symbol
4
 
 *
5
 
 * @remark Copyright 2002 OProfile authors
6
 
 * @remark Read the file COPYING
7
 
 *
8
 
 * @author John Levon
9
 
 */
10
 
 
11
 
#ifndef DEMANGLE_SYMBOL_H
12
 
#define DEMANGLE_SYMBOL_H
13
 
 
14
 
#include <string>
15
 
 
16
 
/// demangle type: specify what demangling we use
17
 
enum demangle_type {
18
 
        /// no demangling.
19
 
        dmt_none,
20
 
        /// use cplus_demangle()
21
 
        dmt_normal,
22
 
        /// normal plus a pass through the regular expression to simplify
23
 
        /// the mangled name
24
 
        dmt_smart
25
 
};
26
 
 
27
 
/**
28
 
 * demangle_symbol - demangle a symbol
29
 
 * @param name the mangled symbol name
30
 
 * @return the demangled name
31
 
 *
32
 
 * Demangle the symbol name, if the global
33
 
 * variable demangle is true.
34
 
 *
35
 
 * The demangled name lists the parameters and type
36
 
 * qualifiers such as "const".
37
 
 */
38
 
std::string const demangle_symbol(std::string const & name);
39
 
 
40
 
#endif // DEMANGLE_SYMBOL_H