Skip to content

Commit 7746315

Browse files
committed
Update test for Clang -cl-std=clc++ rename
Update a test for Clang commit r367008 ("[OpenCL] Rename lang mode flag for C++ mode", 2019-07-25).
1 parent 49dabb5 commit 7746315

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm-spirv/test/DebugInfo/DebugFunction.cl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
// Check for 2 thigs:
1+
// Check for 2 things:
22
// - After round trip translation function definition has !dbg metadata attached
33
// specifically if -gline-tables-only was used for Clang
44
// - Parent operand of DebugFunction is DebugCompileUnit, not an OpString, even
55
// if in LLVM IR it points to a DIFile instead of DICompileUnit.
66

7-
// RUN: %clang_cc1 %s -cl-std=c++ -emit-llvm-bc -triple spir -debug-info-kind=line-tables-only -O0 -o - | llvm-spirv -o %t.spv
7+
// RUN: %clang_cc1 %s -cl-std=clc++ -emit-llvm-bc -triple spir -debug-info-kind=line-tables-only -O0 -o - | llvm-spirv -o %t.spv
88
// RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV
99
// RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM
1010

0 commit comments

Comments
 (0)