1
0
mirror of https://github.com/golang/go synced 2024-11-19 15:05:00 -07:00

gc: alternative clang compatible abort.

Tested on clang 2.9/amd64

R=rsc, jeff, r
CC=golang-dev
https://golang.org/cl/4517143
This commit is contained in:
Dave Cheney 2011-06-08 10:46:15 +10:00 committed by Rob Pike
parent d5c45c541d
commit 6998ea2982

View File

@ -105,7 +105,7 @@ hcrash(void)
flusherrors();
if(outfile)
unlink(outfile);
abort();
*(volatile int*)0 = 0;
}
}