aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/cgocall.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/cgocall.go')
-rw-r--r--libgo/go/runtime/cgocall.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/runtime/cgocall.go b/libgo/go/runtime/cgocall.go
index 79fe65c..0495d67 100644
--- a/libgo/go/runtime/cgocall.go
+++ b/libgo/go/runtime/cgocall.go
@@ -15,6 +15,8 @@ import (
//go:linkname cgoCheckPointer
//go:linkname cgoCheckResult
+var ncgocall uint64 // number of cgo calls in total for dead m
+
// Pointer checking for cgo code.
// We want to detect all cases where a program that does not use