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:
parent
4b638bfc34
commit
76a32d8cc6
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue