summaryrefslogtreecommitdiffstats
path: root/llgo/third_party/gofrontend/libgo/go/net/http/race.go
diff options
context:
space:
mode:
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/go/net/http/race.go')
-rw-r--r--llgo/third_party/gofrontend/libgo/go/net/http/race.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/llgo/third_party/gofrontend/libgo/go/net/http/race.go b/llgo/third_party/gofrontend/libgo/go/net/http/race.go
new file mode 100644
index 00000000000..766503967c3
--- /dev/null
+++ b/llgo/third_party/gofrontend/libgo/go/net/http/race.go
@@ -0,0 +1,11 @@
+// Copyright 2014 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build race
+
+package http
+
+func init() {
+ raceEnabled = true
+}
OpenPOWER on IntegriCloud