diff --git a/0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch b/0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch new file mode 100644 index 0000000..686fd91 --- /dev/null +++ b/0001-Fix-Driver-modules.cpp-test-to-work-when-build-direc.patch @@ -0,0 +1,14 @@ +diff --git a/clang/test/Driver/modules.cpp b/clang/test/Driver/modules.cpp +--- a/clang/test/Driver/modules.cpp ++++ b/clang/test/Driver/modules.cpp +@@ -15,7 +15,8 @@ + // RUN: %clang -std=c++2a %t/module.pcm -S -o %t/module.pcm.o -v 2>&1 | FileCheck %s --check-prefix=CHECK-COMPILE + // + // CHECK-COMPILE: -cc1 {{.*}} {{-emit-obj|-S}} +-// CHECK-COMPILE-SAME: -o {{.*}}.{{pcm.o|s}} ++// CHECK-COMPILE-SAME: {{ -o }} ++// CHECK-COMPILE-SAME: module{{2*}}.{{pcm.o|s}} + // CHECK-COMPILE-SAME: -x pcm + // CHECK-COMPILE-SAME: {{.*}}.pcm + +