summaryrefslogtreecommitdiff
path: root/src/cmd/nm/doc.go
blob: 004567cad2eb288ad4a99de6f55389e07df0b1e5 (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.

Usage:
	go tool nm [-aghnsTu] file

*/
package documentation