SLAU131V October 2004 – February 2020
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 MSP430 Optimizing C/C++ Compiler User's Guide.
For information specifically about C++ symbol naming, see the "C++ Name Demangler" chapter in the MSP430 Optimizing C/C++ Compiler User's Guide.