summaryrefslogtreecommitdiff
path: root/src/cmd/nm/doc.go
blob: 8e88e2e6395fa49aa130456a9f4c210346dbd602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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.

// +build ignore

/*

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 [-aghnsSTu] file

*/
package main