1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 04:17:55 +01:00

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`