go/src/cmd
Anthony Martin 272687ec24 cmd/nm: don't add filename elements for m symbols
The compilers used to generate only one 'm' symbol
to record the stack frame size for each function.

In cmd/nm, the 'm' and 'f' symbols are handled in
the same switch case with a special exception for
the symbol described above called ".frame".

Now that the compilers emit additional 'm' symbols
for precise garbage collection of the stack, the
current logic is incorrect. cmd/nm will attempt to
interpret these new 'm' symbols as 'f' symbols and
add them to the file name index table.

This fails with an out-of-memory condition when
zenter encounters an 'm' symbol with a very large
value (usually the .args symbol indicating a
variadic NOSPLIT function).

R=iant
CC=dave, gobot, golang-dev, rsc
https://golang.org/cl/7962045
2013-04-03 18:23:43 -07:00
..
5a libmach, cmd/5a, cmd/5c, cmd/5g, cmd/5l: enable DWARF type info for Linux/ARM 2013-02-26 06:15:29 +08:00
5c cmd/cgo, cmd/ld: new cgo object file section 2013-03-01 00:27:57 -05:00
5g cmd/gc: implement method values 2013-03-20 17:11:09 -04:00
5l cmd/ld: add -extld and -extldflags options 2013-04-01 12:56:18 -07:00
6a cmd/6a, cmd/8a, cmd/6l, cmd/8l: add AES instructions 2013-03-07 12:54:00 -08:00
6c cmd/6c, cmd/8c: fix stack allocated Biobuf leaking at exit 2013-03-20 23:42:00 +11:00
6g cmd/6g: fix warnings on Plan 9 2013-03-30 09:31:49 -07:00
6l cmd/ld: add -extld and -extldflags options 2013-04-01 12:56:18 -07:00
8a 8a/8l: add PCMPEQB and PMOVMSKB to 386. 2013-03-29 00:34:03 -07:00
8c cmd/6c, cmd/8c: fix stack allocated Biobuf leaking at exit 2013-03-20 23:42:00 +11:00
8g cmd/gc: implement method values 2013-03-20 17:11:09 -04:00
8l cmd/ld: add -extld and -extldflags options 2013-04-01 12:56:18 -07:00
addr2line cmd/addr2line: exit 0 for --help 2013-03-11 18:12:07 -04:00
api all: remove now-unnecessary unreachable panics 2013-03-11 14:16:55 -07:00
cc cmd/cc/cc.h: Add a #pragma for %S used (only) in cmd/cc/sub.c. 2013-04-01 14:21:15 -07:00
cgo cmd/cgo: fix the cgo example on multiple assignment context. 2013-03-21 20:06:25 -07:00
cov cmd/godoc: use go/build to determine package and example files 2013-02-19 11:19:58 -08:00
dist cmd/dist, cmd/ld: GO_EXTLINK_ENABLED=0 defaults to -linkmode=internal 2013-03-29 16:33:35 -07:00
fix cmd/fix: revert IPv6 scoped address zone support of IPNet 2013-03-20 01:05:16 +09:00
gc cmd/gc: be more tolerant with recursive types when checking map types. 2013-04-03 08:18:30 +02:00
go cmd/go: run main package when no files are listed 2013-04-04 12:04:35 +11:00
godoc cmd/godoc: don't linkify index entries 2013-04-02 12:05:14 -07:00
gofmt go/parser: ParseExpr must accept type expressions 2013-04-03 07:41:26 -07:00
ld cmd/ld: add -extld and -extldflags options 2013-04-01 12:56:18 -07:00
nm cmd/nm: don't add filename elements for m symbols 2013-04-03 18:23:43 -07:00
objdump
pack cmd/godoc: use go/build to determine package and example files 2013-02-19 11:19:58 -08:00
prof all: clean up C function prototypes 2013-02-26 09:51:33 -08:00
vet vet: add a progress message to asmdecl.go 2013-03-27 16:55:16 -07:00
yacc build: remove dead code 2013-03-22 17:28:22 -04:00