osx/nm Add example of demangling C++ symbols.

This commit is contained in:
Ryan Dahl 2017-11-28 22:48:53 -08:00 committed by GitHub
parent 4b638bfc34
commit 76a32d8cc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# nm
> List symbol names in object files (see c++filt).
> List symbol names in object files.
- List global (extern) functions in a file (prefixed with T):
@ -13,3 +13,7 @@
- List all symbols, even debugging symbols:
`nm -a {{file.o}}`
- Demangle C++ symbols:
`nm {{file.o}} | c++filt -p -i`