aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/signal_windows.go
diff options
context:
space:
mode:
authorMichael Hudson-Doyle <michael.hudson@canonical.com>2015-03-29 21:59:00 +0000
committerIan Lance Taylor <iant@golang.org>2015-04-10 04:51:42 +0000
commitfae4a128cb5570c6caccf4b4f2b92d118db1c775 (patch)
treef408772a7aaf373d58d1859be2874a5df3ab1c44 /src/runtime/signal_windows.go
parentcb6e9ec03d66fd5a25c513c6effcc5d8206a9133 (diff)
downloadgo-fae4a128cb5570c6caccf4b4f2b92d118db1c775.tar.gz
go-fae4a128cb5570c6caccf4b4f2b92d118db1c775.zip
runtime, reflect: support multiple moduledata objects
This changes all the places that consult themoduledata to consult a linked list of moduledata objects, as will be necessary for -linkshared to work. Obviously, as there is as yet no way of adding moduledata objects to this list, all this change achieves right now is wasting a few instructions here and there. Change-Id: I397af7f60d0849b76aaccedf72238fe664867051 Reviewed-on: https://go-review.googlesource.com/8231 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/signal_windows.go')
-rw-r--r--src/runtime/signal_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/signal_windows.go b/src/runtime/signal_windows.go
index ab8fe206c7..bdeb5f182b 100644
--- a/src/runtime/signal_windows.go
+++ b/src/runtime/signal_windows.go
@@ -11,6 +11,7 @@ import (
func isgoexception(info *exceptionrecord, r *context) bool {
// Only handle exception if executing instructions in Go binary
// (not Windows library code).
+ // TODO(mwhudson): needs to loop to support shared libs
if r.ip() < themoduledata.text || themoduledata.etext < r.ip() {
return false
}