Commit 5f179c7c authored by Shenghou Ma's avatar Shenghou Ma Committed by Minux Ma

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/2401Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent e5864cd9
......@@ -202,6 +202,9 @@ TEXT sync∕atomic·LoadUint64(SB), NOSPLIT, $0-0
TEXT syncatomic·LoadUintptr(SB), NOSPLIT, $0-0
JMP syncatomic·LoadInt64(SB)
TEXT syncatomic·LoadPointer(SB), NOSPLIT, $0-0
JMP syncatomic·LoadInt64(SB)
// Store
TEXT syncatomic·StoreInt32(SB), NOSPLIT, $0-0
MOVQ $__tsan_go_atomic32_store(SB), AX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment