[compiler-rt] e2d6023 - tsan: fix Go build on Windows

Dmitry Vyukov via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 01:38:04 PDT 2020


Author: Dmitry Vyukov
Date: 2020-04-01T10:36:29+02:00
New Revision: e2d6023250b1645214967f58a310b73b22adb31e

URL: https://github.com/llvm/llvm-project/commit/e2d6023250b1645214967f58a310b73b22adb31e
DIFF: https://github.com/llvm/llvm-project/commit/e2d6023250b1645214967f58a310b73b22adb31e.diff

LOG: tsan: fix Go build on Windows

Fix similar to https://reviews.llvm.org/D77111 but fow Windows.

gotsan.cpp:14071:16: error: missing terminating ' character [-Werror]
case 0b10'010:  // c.lwsp (rd != x0)
         ^

Reported-by: Keith Randall

Added: 
    

Modified: 
    compiler-rt/lib/tsan/go/build.bat

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/tsan/go/build.bat b/compiler-rt/lib/tsan/go/build.bat
index bf502873b113..0755688e5bd3 100644
--- a/compiler-rt/lib/tsan/go/build.bat
+++ b/compiler-rt/lib/tsan/go/build.bat
@@ -59,4 +59,4 @@ gcc ^
   -DSANITIZER_DEBUG=0 ^
   -O3 ^
   -fomit-frame-pointer ^
-  -std=c++11
+  -std=c++14


        


More information about the llvm-commits mailing list