Sorry for the messup. Unmutilated nm pages
This commit is contained in:
@@ -2,18 +2,18 @@
|
|||||||
|
|
||||||
> List symbol names in object files.
|
> List symbol names in object files.
|
||||||
|
|
||||||
- List global (extern) functions in a file (prefixed with T:
|
- List global (extern) functions in a file (prefixed with T):
|
||||||
|
|
||||||
`nm -g {{file.o}}`
|
`nm -g {{file.o}}`
|
||||||
|
|
||||||
- Demangle C++ symbols (make them readable:
|
- Demangle C++ symbols (make them readable):
|
||||||
|
|
||||||
`nm --demangle {{file.o}}`
|
`nm --demangle {{file.o}}`
|
||||||
|
|
||||||
- List only undefined symbols in a fil:
|
- List only undefined symbols in a file:
|
||||||
|
|
||||||
`nm -u {{file.o}}`
|
`nm -u {{file.o}}`
|
||||||
|
|
||||||
- List all symbols, even debugging symbol:
|
- List all symbols, even debugging symbols:
|
||||||
|
|
||||||
`nm -a {{file.o}}`
|
`nm -a {{file.o}}`
|
||||||
|
@@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
> List symbol names in object files (see c++filt).
|
> List symbol names in object files (see c++filt).
|
||||||
|
|
||||||
- List global (extern) functions in a file (prefixed with T:
|
- List global (extern) functions in a file (prefixed with T):
|
||||||
|
|
||||||
`nm -g {{file.o}}`
|
`nm -g {{file.o}}`
|
||||||
|
|
||||||
- List only undefined symbols in a fil:
|
- List only undefined symbols in a file:
|
||||||
|
|
||||||
`nm -u {{file.o}}`
|
`nm -u {{file.o}}`
|
||||||
|
|
||||||
- List all symbols, even debugging symbol:
|
- List all symbols, even debugging symbols:
|
||||||
|
|
||||||
`nm -a {{file.o}}`
|
`nm -a {{file.o}}`
|
||||||
|
Reference in New Issue
Block a user