6
6
// REQUIRES: optimized_stdlib,swift_stdlib_no_asserts
7
7
8
8
// This file is testing out the basic YAML functionality to make sure that it
9
- // works without burdening opt-remark-generator-yaml .swift with having to update all
9
+ // works without burdening opt_remark_generator_yaml .swift with having to update all
10
10
// of the yaml test cases everytime new code is added.
11
11
12
12
public class Klass { }
13
13
14
14
// CHECK: --- !Missed
15
15
// CHECK-NEXT: Pass: sil-opt-remark-gen
16
16
// CHECK-NEXT: Name: sil.memory
17
- // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml .swift',
17
+ // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml .swift',
18
18
// CHECK-NEXT: Line: [[# @LINE + 7 ]], Column: 21 }
19
19
// CHECK-NEXT: Function: main
20
20
// CHECK-NEXT: Args:
@@ -27,30 +27,30 @@ public var global = Klass() // expected-remark {{heap allocated ref of type 'Kla
27
27
// CHECK: --- !Missed
28
28
// CHECK-NEXT: Pass: sil-opt-remark-gen
29
29
// CHECK-NEXT: Name: sil.memory
30
- // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml .swift',
30
+ // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml .swift',
31
31
// CHECK-NEXT: Line: [[# @LINE + 27 ]], Column: 12 }
32
32
// CHECK-NEXT: Function: 'getGlobal()'
33
33
// CHECK-NEXT: Args:
34
34
// CHECK-NEXT: - String: 'begin exclusive access to value of type '''
35
35
// CHECK-NEXT: - ValueType: Klass
36
36
// CHECK-NEXT: - String: ''''
37
37
// CHECK-NEXT: - InferredValue: 'of ''global'''
38
- // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml .swift',
38
+ // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml .swift',
39
39
// CHECK-NEXT: Line: [[# @LINE - 14 ]], Column: 12 }
40
40
// CHECK-NEXT: ...
41
41
//
42
42
// CHECK: --- !Missed
43
43
// CHECK-NEXT: Pass: sil-opt-remark-gen
44
44
// CHECK-NEXT: Name: sil.memory
45
- // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml .swift',
45
+ // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml .swift',
46
46
// CHECK-NEXT: Line: [[# @LINE + 12]], Column: 5 }
47
47
// CHECK-NEXT: Function: 'getGlobal()'
48
48
// CHECK-NEXT: Args:
49
49
// CHECK-NEXT: - String: 'retain of type '''
50
50
// CHECK-NEXT: - ValueType: Klass
51
51
// CHECK-NEXT: - String: ''''
52
52
// CHECK-NEXT: - InferredValue: 'of ''global'''
53
- // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml .swift',
53
+ // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml .swift',
54
54
// CHECK-NEXT: Line: [[# @LINE - 29 ]], Column: 12 }
55
55
// CHECK-NEXT: ...
56
56
@inline ( never)
@@ -64,7 +64,7 @@ public func getGlobal() -> Klass {
64
64
// CHECK: --- !Missed
65
65
// CHECK-NEXT: Pass: sil-opt-remark-gen
66
66
// CHECK-NEXT: Name: sil.memory
67
- // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml .swift',
67
+ // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml .swift',
68
68
// CHECK-NEXT: Line: [[# @LINE + 23]], Column: 11 }
69
69
// CHECK-NEXT: Function: 'useGlobal()'
70
70
// CHECK-NEXT: Args:
@@ -75,7 +75,7 @@ public func getGlobal() -> Klass {
75
75
// CHECK-NEXT: --- !Missed
76
76
// CHECK-NEXT: Pass: sil-opt-remark-gen
77
77
// CHECK-NEXT: Name: sil.memory
78
- // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt-remark-generator-yaml .swift',
78
+ // CHECK-NEXT: DebugLoc: { File: '{{.*}}opt_remark_generator_yaml .swift',
79
79
// CHECK-NEXT: Line: [[# @LINE + 12]], Column: 12 }
80
80
// CHECK-NEXT: Function: 'useGlobal()'
81
81
// CHECK-NEXT: Args:
0 commit comments