aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/race_amd64.s
diff options
context:
space:
mode:
authorShenghou Ma <minux@golang.org>2015-01-06 20:40:16 -0500
committerMinux Ma <minux@golang.org>2015-01-07 03:20:42 +0000
commit5f179c7cef24c74627632ca1b9df8d5ea3912ace (patch)
tree0862578b6b5c5118fe579a3ef6e81c9f8dc1bb38 /src/runtime/race_amd64.s
parente5864cd9397679353e44ab1de82fdf6d75a359c7 (diff)
downloadgo-5f179c7cef24c74627632ca1b9df8d5ea3912ace.tar.gz
go-5f179c7cef24c74627632ca1b9df8d5ea3912ace.zip
runtime: fix build for race detector
This CL only fixes the build, there are two failing tests: RaceMapBigValAccess1 and RaceMapBigValAccess2 in runtime/race tests. I haven't investigated why yet. Updates #9516. Change-Id: If5bd2f0bee1ee45b1977990ab71e2917aada505f Reviewed-on: https://go-review.googlesource.com/2401 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime/race_amd64.s')
-rw-r--r--src/runtime/race_amd64.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/race_amd64.s b/src/runtime/race_amd64.s
index adf557f8a2..972cbe3f8a 100644
--- a/src/runtime/race_amd64.s
+++ b/src/runtime/race_amd64.s
@@ -202,6 +202,9 @@ TEXT sync∕atomic·LoadUint64(SB), NOSPLIT, $0-0
TEXT sync∕atomic·LoadUintptr(SB), NOSPLIT, $0-0
JMP sync∕atomic·LoadInt64(SB)
+TEXT sync∕atomic·LoadPointer(SB), NOSPLIT, $0-0
+ JMP sync∕atomic·LoadInt64(SB)
+
// Store
TEXT sync∕atomic·StoreInt32(SB), NOSPLIT, $0-0
MOVQ $__tsan_go_atomic32_store(SB), AX