]> granicus.if.org Git - clang/commitdiff
Add target flag to clang-cl invocation in this test.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 3 Sep 2015 20:53:14 +0000 (20:53 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 3 Sep 2015 20:53:14 +0000 (20:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246804 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/fsanitize-coverage.c

index 51ab97a98f48c3c13c2e150ed59784263224ae07..fdaa9faf8902eb4f60e52e8789b854d1afcd2708 100644 (file)
@@ -61,7 +61,7 @@
 // CHECK-EXTEND-LEGACY: -fsanitize-coverage-type=1
 // CHECK-EXTEND-LEGACY: -fsanitize-coverage-trace-cmp
 
-// RUN: %clang_cl -fsanitize=address -fsanitize-coverage=1 -c -### -- %s 2>&1 | FileCheck %s -check-prefix=CLANG-CL-COVERAGE
+// RUN: %clang_cl --target=i386-pc-win32 -fsanitize=address -fsanitize-coverage=1 -c -### -- %s 2>&1 | FileCheck %s -check-prefix=CLANG-CL-COVERAGE
 // CLANG-CL-COVERAGE-NOT: error:
 // CLANG-CL-COVERAGE-NOT: warning:
 // CLANG-CL-COVERAGE-NOT: argument unused