summaryrefslogtreecommitdiff
path: root/rtemstoolkit/rld-symbols.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-04-03 16:26:36 +1000
committerChris Johns <chrisj@rtems.org>2016-04-03 16:26:36 +1000
commit6c94148e62076c52794dd43a529793bdc33e4b8d (patch)
treed7943a527307ae8f2fc292efb9ea944095037de2 /rtemstoolkit/rld-symbols.h
parentc81066f67f0ef1f06d51ecd56b407c6e4d690edc (diff)
linkers: Demangle the C++ labels in the .ctors/.dtors sections.
Show user friendly labels for the C++ constructors and destructors.
Diffstat (limited to 'rtemstoolkit/rld-symbols.h')
-rw-r--r--rtemstoolkit/rld-symbols.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rtemstoolkit/rld-symbols.h b/rtemstoolkit/rld-symbols.h
index c8a61f4..6a71a3d 100644
--- a/rtemstoolkit/rld-symbols.h
+++ b/rtemstoolkit/rld-symbols.h
@@ -45,6 +45,12 @@ namespace rld
namespace symbols
{
/**
+ * C++ demangler.
+ */
+ bool is_cplusplus (const std::string& name);
+ void demangle_name (std::string& name, std::string& demangled);
+
+ /**
* Use a local type for the address.
*/
typedef elf::elf_addr address;