Descriptionruntime: handle fault during runtime more like unexpected fault address
Delaying the runtime.throw until here will print more information.
In particular it will print the signal and code values, which means
it will show the fault address.
The canpanic checks were added recently, in CL 75320043.
They were just not added in exactly the right place.
Patch Set 1 #Patch Set 2 : diff -r 4ca10cc10176 https://code.google.com/p/go/ #Patch Set 3 : diff -r 4ca10cc10176 https://code.google.com/p/go/ #Patch Set 4 : diff -r 881e5ceda5bf https://code.google.com/p/go/ #
MessagesTotal messages: 3
|