go/src
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
..
cmd cmd/nm: don't add filename elements for m symbols 2013-04-03 18:23:43 -07:00
lib9 lib9/utf: Remove superfluous header inclusion. 2013-03-31 12:28:22 -07:00
libbio
libmach libmach: respect symbol table boundaries 2013-03-27 05:59:06 -07:00
pkg runtime: fix data/bss shadow memory mapping for race detector 2013-04-04 09:11:34 +11:00
Make.dist
all.bash build: restore PATH before "dist banner" 2012-06-06 20:19:16 +08:00
all.bat all.bat,make.bat,run.bat: make these work even when directory has space in it 2013-03-25 12:13:34 +11:00
all.rc build: do not set GOBIN on Plan 9 2013-02-26 09:25:46 -08:00
clean.bash
clean.bat
clean.rc
make.bash cmd/dist, cmd/ld: GO_EXTLINK_ENABLED=0 defaults to -linkmode=internal 2013-03-29 16:33:35 -07:00
make.bat all.bat,make.bat,run.bat: make these work even when directory has space in it 2013-03-25 12:13:34 +11:00
make.rc build: do not set GOBIN on Plan 9 2013-02-26 09:25:46 -08:00
race.bash src: add race.bash 2013-01-28 21:05:25 +11:00
race.bat src: add race.bat 2013-02-03 00:49:37 +08:00
run.bash cmd/dist, cmd/ld: GO_EXTLINK_ENABLED=0 defaults to -linkmode=internal 2013-03-29 16:33:35 -07:00
run.bat all.bat,make.bat,run.bat: make these work even when directory has space in it 2013-03-25 12:13:34 +11:00
run.rc build: do not set GOBIN on Plan 9 2013-02-26 09:25:46 -08:00
sudo.bash sudo.bash: diagnose when the go tool is not in $PATH 2012-11-15 10:42:39 -08:00