2009-11-03 18:46:35 -07:00
|
|
|
// 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.
|
|
|
|
|
2013-02-19 12:19:58 -07:00
|
|
|
// +build ignore
|
|
|
|
|
2009-11-03 18:46:35 -07:00
|
|
|
/*
|
|
|
|
|
2009-11-09 12:45:15 -07:00
|
|
|
Nm is a version of the Plan 9 nm command. The original is documented at
|
2009-11-03 18:46:35 -07:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2012-10-30 14:38:01 -06:00
|
|
|
This implementation adds the flag -S, which prints each symbol's size
|
2011-03-08 11:04:30 -07:00
|
|
|
in decimal after its address.
|
|
|
|
|
2012-03-08 10:31:09 -07:00
|
|
|
Usage:
|
2013-09-16 00:13:27 -06:00
|
|
|
go tool nm [-aghnsSTu] file
|
2009-11-03 18:46:35 -07:00
|
|
|
|
|
|
|
*/
|
2013-02-19 12:19:58 -07:00
|
|
|
package main
|