File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
// RUN: %swiftc_driver %s -emit-ir -g -Xfrontend -disable-legacy-type-info -target x86_64-apple-macosx10.10 -parse-stdlib -module-name scratch -o - | %FileCheck %s
6
6
// RUN: env RC_DEBUG_OPTIONS=1 %swiftc_driver %s -emit-ir -g -Xfrontend -disable-legacy-type-info -target x86_64-apple-macosx10.10 -parse-stdlib -module-name scratch -o - | %FileCheck --check-prefix CHECK-VAR-SET %s
7
- // CHECK: !DICompileUnit({{.*}} producer: "{{(Apple )? Swift version [^"]+}}"
7
+ // CHECK: !DICompileUnit({{.*}} producer: "{{[^"]* Swift version [^"]+}}"
8
8
// CHECK-NOT: flags: "
9
- // CHECK-VAR-SET: !DICompileUnit({{.*}}producer: "{{(Apple )? Swift version [^"]+}}"
9
+ // CHECK-VAR-SET: !DICompileUnit({{.*}}producer: "{{[^"]* Swift version [^"]+}}"
10
10
// CHECK-VAR-SET-SAME: flags: "
11
11
// CHECK-VAR-SET-NOT: "
12
12
// CHECK-VAR-SET-SAME: -resource-dir
Original file line number Diff line number Diff line change 4
4
5
5
// RUN: %target-swiftc_driver %s -emit-ir -debug-info-store-invocation -g -o - | %FileCheck %s
6
6
// RUN: %target-swiftc_driver %s -emit-ir -debug-info-store-invocation -sdk "/Weird Location/SDK" -g -o - | %FileCheck --check-prefix CHECK-EXPLICIT %s
7
- // CHECK: !DICompileUnit({{.*}}producer: "{{(Apple )? Swift version [^"]+}}"
7
+ // CHECK: !DICompileUnit({{.*}}producer: "{{[^"]* Swift version [^"]+}}"
8
8
// CHECK-SAME: flags: "
9
9
// CHECK-NOT: "
10
10
// CHECK-SAME: -resource-dir
11
- // CHECK-EXPLICIT: !DICompileUnit({{.*}}producer: "{{(Apple )? Swift version [^"]+}}"
11
+ // CHECK-EXPLICIT: !DICompileUnit({{.*}}producer: "{{[^"]* Swift version [^"]+}}"
12
12
// CHECK-EXPLICIT-SAME: flags: "
13
13
// CHECK-EXPLICIT-NOT: "
14
14
// CHECK-EXPLICIT-SAME: -sdk \22/Weird Location/SDK\22
You can’t perform that action at this time.
0 commit comments