mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-21 08:48:13 +03:00
osx/nm Add example of demangling C++ symbols.
This commit is contained in:
parent
4b638bfc34
commit
76a32d8cc6
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user