Ok, I assume you didn't understand what the manual is trying to say. If not, please reprhase or give more details. Quoting from nm man page:
Code:
-C
--demangle[=style]
Decode (demangle) low-level symbol names into user-level names. Besides removing any ini-
tial underscore prepended by the system, this makes C++ function names readable. Different
compilers have different mangling styles. The optional demangling style argument can be
used to choose an appropriate demangling style for your compiler.
This means, you can use
and it will work. You could specify something like:
Code:
nm --demangle=style object.o
but this is OPTIONAL. (so, as I do not know what style can I use there, I left it empty and it worked).