diff --git a/compiler-rt/lib/tsan/go/buildgo.sh b/compiler-rt/lib/tsan/go/buildgo.sh --- a/compiler-rt/lib/tsan/go/buildgo.sh +++ b/compiler-rt/lib/tsan/go/buildgo.sh @@ -173,6 +173,7 @@ rm -f $DIR/gotsan.cpp for F in $SRCS; do + echo "#line 1 \"$F\"" >> $DIR/gotsan.cpp cat $F >> $DIR/gotsan.cpp done