Commit 6998ea29 authored by Dave Cheney's avatar Dave Cheney Committed by Rob Pike

gc: alternative clang compatible abort.

Tested on clang 2.9/amd64

R=rsc, jeff, r
CC=golang-dev
https://golang.org/cl/4517143
parent d5c45c54
...@@ -105,7 +105,7 @@ hcrash(void) ...@@ -105,7 +105,7 @@ hcrash(void)
flusherrors(); flusherrors();
if(outfile) if(outfile)
unlink(outfile); unlink(outfile);
abort(); *(volatile int*)0 = 0;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment