Skip to content

Commit 8229628

Browse files
committed
[Clang] Relax DICompileUnit producer check in debug-info-coff.cpp test (NFC)
Fixes test from #142970 on Fuchsia CI, which uses "Fuchsia clang version" prefix.
1 parent 5ab285e commit 8229628

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/CodeGenCXX/debug-info-coff.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// RUN: %clang --target=i686-pc-windows-msvc -S -emit-llvm %s -o - | FileCheck --check-prefix=IR %s
66
// IR: !llvm.dbg.cu = !{!0}
7-
// IR: !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !1, producer: "clang version {{.*}}", isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug, splitDebugInlining: false, nameTableKind: None)
7+
// IR: !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus_14, file: !1, producer: "{{.*}}", isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug, splitDebugInlining: false, nameTableKind: None)
88

99
// RUN: %clang --target=i686-pc-windows-msvc -c %s -o %t.o
1010
// RUN: llvm-readobj --codeview %t.o | FileCheck %s
@@ -27,7 +27,7 @@
2727
// CHECK-NEXT: Machine: Pentium3 (0x7)
2828
// CHECK-NEXT: FrontendVersion:
2929
// CHECK-NEXT: BackendVersion:
30-
// CHECK-NEXT: VersionName: clang version
30+
// CHECK-NEXT: VersionName: {{.*}}clang version
3131
// CHECK-NEXT: }
3232
// CHECK-NEXT: ]
3333
// CHECK-NEXT: ]

0 commit comments

Comments
 (0)