go/src/cmd/8c
Dave Cheney f701e1c320 cmd/6c, cmd/8c: fix stack allocated Biobuf leaking at exit
Fixes #5085.

{6,8}c/swt.c allocates a third Biobuf in automatic memory which is not terminated at the end of the function. This causes the buffer to be 'in use' when the batexit handler fires, confusing valgrind.

Huge thanks to DMorsing for the diagnosis.

R=golang-dev, daniel.morsing, rsc
CC=golang-dev
https://golang.org/cl/7844044
2013-03-20 23:42:00 +11:00
..
Makefile
cgen.c cmd/6c: Optimize rotate expressions to use rotate instructions. 2013-01-18 17:29:53 -05:00
cgen64.c cmd/8c: better fix for 64-bit register smash 2012-05-24 23:36:26 -04:00
div.c
doc.go cmd/godoc: use go/build to determine package and example files 2013-02-19 11:19:58 -08:00
gc.h cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
list.c cmd/6c, cmd/8c: fix print format for Prog 2013-01-18 19:00:38 -08:00
machcap.c
mul.c cmd/6c, cmd/8c: use signed char explicitly in mul.c 2012-11-09 21:06:45 +01:00
peep.c cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
reg.c cmd/6c, cmd/8c: add fixjmp step to regopt. 2012-12-06 07:20:03 +01:00
sgen.c
swt.c cmd/6c, cmd/8c: fix stack allocated Biobuf leaking at exit 2013-03-20 23:42:00 +11:00
txt.c cmd/8c: disable use of prefetch with GO386=387 2013-02-13 21:13:07 -05:00