Skip to content

Commit 19806c1

Browse files
committed
Fix LIT failures.
1 parent e4d04d1 commit 19806c1

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

clang/test/CodeGenSYCL/debug-info-file-checksum.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// COMP1-SAME: checksumkind: CSK_MD5, checksum: "259269f735d83ec32c46a11352458493")
1717

1818
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsycl-is-host \
19-
// RUN: -include %t.header.h -dependency-filter %t.header.h \
20-
// RUN: -include-footer %t.footer.h -dependency-filter %t.footer.h \
19+
// RUN: -include-internal-header %t.header.h -dependency-filter %t.header.h \
20+
// RUN: -include-internal-footer %t.footer.h -dependency-filter %t.footer.h \
2121
// RUN: -main-file-name %S/Inputs/checksum.cpp \
2222
// RUN: -gcodeview -debug-info-kind=limited -emit-llvm -O0 -o - \
2323
// RUN: "%S/Inputs/checksum.cpp" \

clang/test/Driver/sycl-int-header.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
// DEP_GEN: clang{{.*}} "-fsycl-is-device"
6060
// DEP_GEN-SAME: "-dependency-file" "[[DEPFILE:.+\.d]]"
6161
// DEP_GEN-SAME: "-MT"
62-
// DEP_GEN-SAME: "-internal-isystem" "{{.*}}{{[/\\]+}}include{{[/\\]+}}sycl"
62+
// DEP_GEN-SAME: "-internal-isystem" "{{.*}}{{[/\\]+}}include{{[/\\]+}}sycl{{[/\\]+}}stl_wrappers"
6363
// DEP_GEN-SAME: "-x" "c++" "[[INPUTFILE:.+\.cpp]]"
6464
// DEP_GEN: clang{{.*}} "-fsycl-is-host"
6565
// DEP_GEN-SAME: "-dependency-file" "[[DEPFILE]]"

clang/test/Driver/sycl-offload-new-driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// RUN: %clangxx -### --target=x86_64-unknown-linux-gnu -fsycl -fsycl-targets=spir64 --offload-new-driver %s 2>&1 | FileCheck -check-prefix=CHK-FLOW %s
2828
// CHK-FLOW: clang{{.*}} "-cc1" "-triple" "spir64-unknown-unknown" "-aux-triple" "x86_64-unknown-linux-gnu" "-fsycl-is-device" {{.*}} "-fsycl-int-header=[[HEADER:.*]].h" "-fsycl-int-footer=[[FOOTER:.*]].h" {{.*}} "--offload-new-driver" {{.*}} "-o" "[[CC1DEVOUT:.*]]" "-x" "c++" "[[INPUT:.*]]"
2929
// CHK-FLOW-NEXT: clang-offload-packager{{.*}} "-o" "[[PACKOUT:.*]]" "--image=file=[[CC1DEVOUT]],triple=spir64-unknown-unknown,arch=,kind=sycl{{.*}}"
30-
// CHK-FLOW-NEXT: clang{{.*}} "-cc1" "-triple" "x86_64-unknown-linux-gnu" {{.*}} "-include" "[[HEADER]].h" "-dependency-filter" "[[HEADER]].h" {{.*}} "-fsycl-is-host"{{.*}} "--offload-new-driver" {{.*}} "-fembed-offload-object=[[PACKOUT]]" {{.*}} "-o" "[[CC1FINALOUT:.*]]" "-x" "c++" "[[INPUT]]"
30+
// CHK-FLOW-NEXT: clang{{.*}} "-cc1" "-triple" "x86_64-unknown-linux-gnu" {{.*}} "-include-internal-header" "[[HEADER]].h" "-dependency-filter" "[[HEADER]].h" {{.*}} "-include-internal-footer" "[[FOOTER]].h" "-dependency-filter" "[[FOOTER]].h" "-fsycl-is-host"{{.*}} "--offload-new-driver" {{.*}} "-fembed-offload-object=[[PACKOUT]]" {{.*}} "-o" "[[CC1FINALOUT:.*]]" "-x" "c++" "[[INPUT]]"
3131
// CHK-FLOW-NEXT: clang-linker-wrapper{{.*}} "--host-triple=x86_64-unknown-linux-gnu"{{.*}} "--linker-path={{.*}}/ld" {{.*}} "[[CC1FINALOUT]]"
3232

3333
/// Verify options passed to clang-linker-wrapper

clang/test/Preprocessor/print_line_empty_file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ int foo() { return 42; }
66
#line 4 "bug.c"
77
int bar() { return 21; }
88

9-
// CHECK: # 21 ""
9+
// CHECK: # 1 "[[INPUT:.+\.c]]" 2
1010
// CHECK: int foo() { return 42; }
1111
// CHECK: # 4 "bug.c"
1212
// CHECK: int bar() { return 21; }

0 commit comments

Comments
 (0)