summaryrefslogtreecommitdiff
path: root/src/cmd/nm/doc.go
blob: 2a37dd835165cbf39ce07237ee3b0bd2f82b7e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

/*

Nm is a version of the Plan 9 nm command.  The original is documented at

	http://plan9.bell-labs.com/magic/man2html/1/nm

It prints the name list (symbol table) for programs compiled by gc as well as the
Plan 9 C compiler.

This implementation adds the flag -S, which prints each symbol's size 
in decimal after its address.

For reasons of disambiguation it is installed as 6nm although it also serves
as an 8nm and a 5nm.

*/
package documentation