[PATCH] D26461: Tread TSan LLVM flags to driver: add TSan controlling flags to clang.

Aleksey Shlyapnikov via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 9 18:08:31 PST 2016


alekseyshl added inline comments.


================
Comment at: test/Driver/fsanitize.c:288
+// RUN: %clang -target x86_64-linux-gnu -fsanitize=thread -fsanitize-thread-data-races -fno-sanitize-thread-data-races %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-TSAN-DATA-RACES-OFF
+// CHECK-TSAN-DATA-RACES-BOTH-OFF: -cc1{{.*}}-fno-sanitize-thread-data-races
+
----------------
eugenis wrote:
> did you mean CHECK-TSAN-DATA-RACES-BOTH-NOT?
> 
I missed -BOTH on the FileCheck line above and in couple of other places.


https://reviews.llvm.org/D26461





More information about the cfe-commits mailing list