diff options
author | Chris Johns <chrisj@rtems.org> | 2016-04-03 16:26:36 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-04-03 16:26:36 +1000 |
commit | 6c94148e62076c52794dd43a529793bdc33e4b8d (patch) | |
tree | d7943a527307ae8f2fc292efb9ea944095037de2 /rtemstoolkit/rld-symbols.h | |
parent | c81066f67f0ef1f06d51ecd56b407c6e4d690edc (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.h | 6 |
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; |