tsan: add pragma line to buildgo.sh
authorDmitry Vyukov <dvyukov@google.com>
Mon, 19 Jul 2021 13:54:44 +0000 (15:54 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 20 Jul 2021 05:22:01 +0000 (07:22 +0200)
commitd9b6e32dd74c63a12fb2872ca1b36479e4946a81
tree9d55e845d773ffd8ea8e492980a822fbefee5f21
parent15c5701c8324d2dea519fa379c04d5c619a570ab
tsan: add pragma line to buildgo.sh

Add pragma line so that errors messages point to the actual
source files rather than to the concatenated gotsan.cpp.

Reviewed By: vitalybuka, melver

Differential Revision: https://reviews.llvm.org/D106275
compiler-rt/lib/tsan/go/buildgo.sh