Author: Aaron Ballman Date: 2021-05-18T12:44:58-04:00 New Revision: ccbac06a072b86ea3b46479e478a1abee8520ef8
URL: https://github.com/llvm/llvm-project/commit/ccbac06a072b86ea3b46479e478a1abee8520ef8 DIFF: https://github.com/llvm/llvm-project/commit/ccbac06a072b86ea3b46479e478a1abee8520ef8.diff LOG: Speculatively fix failing tests from 6381664580080f015bc0c2ec647853f697cf744a This was causing some Mac-specific build failures: http://45.33.8.238/macm1/9739/step_7.txt http://45.33.8.238/mac/31615/step_7.txt As best I can tell with psychic debugging, the /Users/blah path to the source file is being treated as a macro undef with the clang-cl driver. This splits the filename off explicitly so hopefully the rest of the command line arguments will be read properly. Added: Modified: clang/test/Driver/sycl.c Removed: ################################################################################ diff --git a/clang/test/Driver/sycl.c b/clang/test/Driver/sycl.c index af3af91cc062..2a672ccf0692 100644 --- a/clang/test/Driver/sycl.c +++ b/clang/test/Driver/sycl.c @@ -22,6 +22,6 @@ // RUN: %clang -### -fsycl %s 2>&1 | FileCheck %s --check-prefix=DEFAULT // RUN: %clangxx -### -fsycl %s 2>&1 | FileCheck %s --check-prefix=DEFAULT -// RUN: %clang_cl -### -fsycl %s 2>&1 | FileCheck %s --check-prefix=DEFAULT +// RUN: %clang_cl -### -fsycl -- %s 2>&1 | FileCheck %s --check-prefix=DEFAULT // DEFAULT: "-sycl-std=2020" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits