]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: define dummy msanmove
authorCherry Zhang <cherryyz@google.com>
Fri, 22 Jan 2021 21:35:21 +0000 (16:35 -0500)
committerCherry Zhang <cherryyz@google.com>
Fri, 22 Jan 2021 22:51:23 +0000 (22:51 +0000)
commiteb21b31e487344fb0045b3ef7b14df9521b94952
tree730214b166b60abb233dfde52a4767a92a09dcca
parent3a778ff50f7091b8a64875c8ed95bfaacf3d334c
runtime: define dummy msanmove

In msan mode we instrument code with msan* functions, including
msanmove. In some configurations the code is instrumented by the
compiler but msan is not actually linked in, so we need dummy
definitions for those functions so the program links. msanmove is
newly added in CL 270859 but a dummy definition in msan0.go was
not added, causing link failures. Add it.

Change-Id: I91f8e749919f57f1182e90b43412b0282cf4767c
Reviewed-on: https://go-review.googlesource.com/c/go/+/285955
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/msan0.go