| parrotcode: Display symbol table information | |
| Contents | Tools |

tools/dev/nm.pl - Display symbol table information

% perl tools/dev/nm.pl [options] file
To list all the symbols in Parrot:
% perl tools/dev/nm.pl parrot

Portable frontend for nm(1); by default lists all the code and data symbols in the object or archive files.

The following options can be used to limit the symbols:
--code--data--init--uninit--constnm if you want this feature.--undef--def--fileIf more than one of all the above options are given, they are ANDed. They can also be negated with a "no", for example --noconst.
--objectname--t B - uninitialised data symbol
D - initialised data symbol
F - file name symbol
R - read-only data symbol
T - code/text symbol
U - undefined symbol
--type=bsd--t.--type=long--help--versionAll the options can be shortened to their unique prefixes, and one leading dash ("-") can be used instead of two ("--").

Author: Jarkko Hietaniemi.
|
|
|