SPRUI03E June 2015 – January 2023
By default, the linker uses demangled symbol names in diagnostics. For example:
undefined symbol | first referenced in file | ||
ANewClass::getValue() | test.cpp.obj |
The --no_demangle option instead shows the linkname for symbols in diagnostics. For example:
undefined symbol | first referenced in file | ||
_ZN9ANewClass8getValueEv | test.cpp.obj |
For information on referencing symbol names, see the "Object File Symbol Naming Conventions (Linknames)" section in the TMS320C6000 Optimizing C/C++ Compiler User's Guide.
For information specifically about C++ symbol naming, see the "C++ Name Demangler" chapter in the TMS320C6000 Optimizing C/C++ Compiler User's Guide.