From 5f179c7cef24c74627632ca1b9df8d5ea3912ace Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Tue, 6 Jan 2015 20:40:16 -0500 Subject: [PATCH] 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 --- src/runtime/race_amd64.s | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.50.0