jhen updated this revision to Diff 80012. jhen added a comment. - Switch to more specific error
https://reviews.llvm.org/D27328 Files: test/Driver/cuda-no-sanitizers.cu Index: test/Driver/cuda-no-sanitizers.cu =================================================================== --- test/Driver/cuda-no-sanitizers.cu +++ test/Driver/cuda-no-sanitizers.cu @@ -6,7 +6,7 @@ // RUN: %clang -### -target x86_64-linux-gnu -c --cuda-gpu-arch=sm_20 -fsanitize=address %s 2>&1 | \ // RUN: FileCheck %s -// CHECK-NOT: error: +// CHECK-NOT: error: unsupported option '-fsanitize=address' // CHECK-DAG: "-fcuda-is-device" // CHECK-NOT: "-fsanitize=address" // CHECK-DAG: "-triple" "x86_64--linux-gnu"
Index: test/Driver/cuda-no-sanitizers.cu =================================================================== --- test/Driver/cuda-no-sanitizers.cu +++ test/Driver/cuda-no-sanitizers.cu @@ -6,7 +6,7 @@ // RUN: %clang -### -target x86_64-linux-gnu -c --cuda-gpu-arch=sm_20 -fsanitize=address %s 2>&1 | \ // RUN: FileCheck %s -// CHECK-NOT: error: +// CHECK-NOT: error: unsupported option '-fsanitize=address' // CHECK-DAG: "-fcuda-is-device" // CHECK-NOT: "-fsanitize=address" // CHECK-DAG: "-triple" "x86_64--linux-gnu"
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits