]> Cypherpunks repositories - gostls13.git/commit
runtime: print errno and byte count before crashing in mem_windows.go
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 16 Sep 2015 04:18:12 +0000 (14:18 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 17 Sep 2015 07:06:42 +0000 (07:06 +0000)
commit3d1f8c237956ca657b9517040a7431e87f9d8a18
tree345907153b40998cd606cea69f63c2d6d0cb8e47
parent50d0ee0c98ea21f818d2daa9bc21ef51861a2ef9
runtime: print errno and byte count before crashing in mem_windows.go

As per iant suggestion during issue #12587 crash investigation.

Also adjust incorrect throw message in sysUsed while we are here.

Change-Id: Ice07904fdd6e0980308cb445965a696d26a1b92e
Reviewed-on: https://go-review.googlesource.com/14633
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/mem_windows.go