|
@@ -305,42 +305,42 @@ fn AddOrRemoveConst(a: i32, b: const i32) {
|
|
|
// CHECK:STDOUT: !53 = !{!7}
|
|
// CHECK:STDOUT: !53 = !{!7}
|
|
|
// CHECK:STDOUT: !54 = !DILocation(line: 27, column: 12, scope: !51)
|
|
// CHECK:STDOUT: !54 = !DILocation(line: 27, column: 12, scope: !51)
|
|
|
// CHECK:STDOUT: !55 = !DILocation(line: 27, column: 5, scope: !51)
|
|
// CHECK:STDOUT: !55 = !DILocation(line: 27, column: 5, scope: !51)
|
|
|
-// CHECK:STDOUT: !56 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a44fce96e16342e7:ImplicitAs.ad22d1bbc0605210.Core.bd3a79eb4ffd3025", scope: null, file: !57, line: 36, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !56 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a44fce96e16342e7:ImplicitAs.ad22d1bbc0605210.Core.bd3a79eb4ffd3025", scope: null, file: !57, line: 40, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !58)
|
|
|
// CHECK:STDOUT: !57 = !DIFile(filename: "{{.*}}/prelude/operators/as.carbon", directory: "")
|
|
// CHECK:STDOUT: !57 = !DIFile(filename: "{{.*}}/prelude/operators/as.carbon", directory: "")
|
|
|
// CHECK:STDOUT: !58 = !{!59}
|
|
// CHECK:STDOUT: !58 = !{!59}
|
|
|
// CHECK:STDOUT: !59 = !DILocalVariable(arg: 1, scope: !56, type: !20)
|
|
// CHECK:STDOUT: !59 = !DILocalVariable(arg: 1, scope: !56, type: !20)
|
|
|
-// CHECK:STDOUT: !60 = !DILocation(line: 36, column: 45, scope: !56)
|
|
|
|
|
-// CHECK:STDOUT: !61 = !DILocation(line: 36, column: 38, scope: !56)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !60 = !DILocation(line: 40, column: 45, scope: !56)
|
|
|
|
|
+// CHECK:STDOUT: !61 = !DILocation(line: 40, column: 38, scope: !56)
|
|
|
// CHECK:STDOUT: !62 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.e5cf8fcbb4feaae2:ImplicitAs.0f95c9e18c91e00a.Core.a7b795aef3d7a0e5", scope: null, file: !34, line: 93, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !63)
|
|
// CHECK:STDOUT: !62 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.e5cf8fcbb4feaae2:ImplicitAs.0f95c9e18c91e00a.Core.a7b795aef3d7a0e5", scope: null, file: !34, line: 93, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !63)
|
|
|
// CHECK:STDOUT: !63 = !{!64}
|
|
// CHECK:STDOUT: !63 = !{!64}
|
|
|
// CHECK:STDOUT: !64 = !DILocalVariable(arg: 1, scope: !62, type: !20)
|
|
// CHECK:STDOUT: !64 = !DILocalVariable(arg: 1, scope: !62, type: !20)
|
|
|
// CHECK:STDOUT: !65 = !DILocation(line: 94, column: 12, scope: !62)
|
|
// CHECK:STDOUT: !65 = !DILocation(line: 94, column: 12, scope: !62)
|
|
|
// CHECK:STDOUT: !66 = !DILocation(line: 94, column: 5, scope: !62)
|
|
// CHECK:STDOUT: !66 = !DILocation(line: 94, column: 5, scope: !62)
|
|
|
-// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a44fce96e16342e7:ImplicitAs.ad22d1bbc0605210.Core.b37806f50d6ac6f2", scope: null, file: !57, line: 36, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !67 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a44fce96e16342e7:ImplicitAs.ad22d1bbc0605210.Core.b37806f50d6ac6f2", scope: null, file: !57, line: 40, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !68)
|
|
|
// CHECK:STDOUT: !68 = !{!69}
|
|
// CHECK:STDOUT: !68 = !{!69}
|
|
|
// CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !67, type: !20)
|
|
// CHECK:STDOUT: !69 = !DILocalVariable(arg: 1, scope: !67, type: !20)
|
|
|
-// CHECK:STDOUT: !70 = !DILocation(line: 36, column: 45, scope: !67)
|
|
|
|
|
-// CHECK:STDOUT: !71 = !DILocation(line: 36, column: 38, scope: !67)
|
|
|
|
|
-// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.bd3a79eb4ffd3025", scope: null, file: !57, line: 40, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !73)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !70 = !DILocation(line: 40, column: 45, scope: !67)
|
|
|
|
|
+// CHECK:STDOUT: !71 = !DILocation(line: 40, column: 38, scope: !67)
|
|
|
|
|
+// CHECK:STDOUT: !72 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.bd3a79eb4ffd3025", scope: null, file: !57, line: 44, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !73)
|
|
|
// CHECK:STDOUT: !73 = !{!74}
|
|
// CHECK:STDOUT: !73 = !{!74}
|
|
|
// CHECK:STDOUT: !74 = !DILocalVariable(arg: 1, scope: !72, type: !20)
|
|
// CHECK:STDOUT: !74 = !DILocalVariable(arg: 1, scope: !72, type: !20)
|
|
|
-// CHECK:STDOUT: !75 = !DILocation(line: 40, column: 45, scope: !72)
|
|
|
|
|
-// CHECK:STDOUT: !76 = !DILocation(line: 40, column: 38, scope: !72)
|
|
|
|
|
-// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.fdb5566b9a89e24d", scope: null, file: !57, line: 40, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !75 = !DILocation(line: 44, column: 45, scope: !72)
|
|
|
|
|
+// CHECK:STDOUT: !76 = !DILocation(line: 44, column: 38, scope: !72)
|
|
|
|
|
+// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.fdb5566b9a89e24d", scope: null, file: !57, line: 44, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !78)
|
|
|
// CHECK:STDOUT: !78 = !{!79}
|
|
// CHECK:STDOUT: !78 = !{!79}
|
|
|
// CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !20)
|
|
// CHECK:STDOUT: !79 = !DILocalVariable(arg: 1, scope: !77, type: !20)
|
|
|
-// CHECK:STDOUT: !80 = !DILocation(line: 40, column: 45, scope: !77)
|
|
|
|
|
-// CHECK:STDOUT: !81 = !DILocation(line: 40, column: 38, scope: !77)
|
|
|
|
|
-// CHECK:STDOUT: !82 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.b37806f50d6ac6f2", scope: null, file: !57, line: 40, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !80 = !DILocation(line: 44, column: 45, scope: !77)
|
|
|
|
|
+// CHECK:STDOUT: !81 = !DILocation(line: 44, column: 38, scope: !77)
|
|
|
|
|
+// CHECK:STDOUT: !82 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.b37806f50d6ac6f2", scope: null, file: !57, line: 44, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !83)
|
|
|
// CHECK:STDOUT: !83 = !{!84}
|
|
// CHECK:STDOUT: !83 = !{!84}
|
|
|
// CHECK:STDOUT: !84 = !DILocalVariable(arg: 1, scope: !82, type: !20)
|
|
// CHECK:STDOUT: !84 = !DILocalVariable(arg: 1, scope: !82, type: !20)
|
|
|
-// CHECK:STDOUT: !85 = !DILocation(line: 40, column: 45, scope: !82)
|
|
|
|
|
-// CHECK:STDOUT: !86 = !DILocation(line: 40, column: 38, scope: !82)
|
|
|
|
|
-// CHECK:STDOUT: !87 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.5fb98646c26c8976", scope: null, file: !57, line: 40, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !88)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !85 = !DILocation(line: 44, column: 45, scope: !82)
|
|
|
|
|
+// CHECK:STDOUT: !86 = !DILocation(line: 44, column: 38, scope: !82)
|
|
|
|
|
+// CHECK:STDOUT: !87 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.17f42c13d842b71d:ImplicitAs.eb057aa32837c84e.Core.5fb98646c26c8976", scope: null, file: !57, line: 44, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !88)
|
|
|
// CHECK:STDOUT: !88 = !{!89}
|
|
// CHECK:STDOUT: !88 = !{!89}
|
|
|
// CHECK:STDOUT: !89 = !DILocalVariable(arg: 1, scope: !87, type: !20)
|
|
// CHECK:STDOUT: !89 = !DILocalVariable(arg: 1, scope: !87, type: !20)
|
|
|
-// CHECK:STDOUT: !90 = !DILocation(line: 40, column: 45, scope: !87)
|
|
|
|
|
-// CHECK:STDOUT: !91 = !DILocation(line: 40, column: 38, scope: !87)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !90 = !DILocation(line: 44, column: 45, scope: !87)
|
|
|
|
|
+// CHECK:STDOUT: !91 = !DILocation(line: 44, column: 38, scope: !87)
|
|
|
// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.e8f8f92d3d08d149:OptionalStorage.Core.b88d1103f417c6d4", scope: null, file: !34, line: 143, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !93)
|
|
// CHECK:STDOUT: !92 = distinct !DISubprogram(name: "Has", linkageName: "_CHas.e8f8f92d3d08d149:OptionalStorage.Core.b88d1103f417c6d4", scope: null, file: !34, line: 143, type: !5, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !93)
|
|
|
// CHECK:STDOUT: !93 = !{!94}
|
|
// CHECK:STDOUT: !93 = !{!94}
|
|
|
// CHECK:STDOUT: !94 = !DILocalVariable(arg: 1, scope: !92, type: !7)
|
|
// CHECK:STDOUT: !94 = !DILocalVariable(arg: 1, scope: !92, type: !7)
|
|
@@ -370,11 +370,11 @@ fn AddOrRemoveConst(a: i32, b: const i32) {
|
|
|
// CHECK:STDOUT: !118 = !DILocalVariable(arg: 1, scope: !116, type: !20)
|
|
// CHECK:STDOUT: !118 = !DILocalVariable(arg: 1, scope: !116, type: !20)
|
|
|
// CHECK:STDOUT: !119 = !DILocation(line: 30, column: 12, scope: !116)
|
|
// CHECK:STDOUT: !119 = !DILocation(line: 30, column: 12, scope: !116)
|
|
|
// CHECK:STDOUT: !120 = !DILocation(line: 30, column: 5, scope: !116)
|
|
// CHECK:STDOUT: !120 = !DILocation(line: 30, column: 5, scope: !116)
|
|
|
-// CHECK:STDOUT: !121 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a44fce96e16342e7:ImplicitAs.ad22d1bbc0605210.Core.b930bfdac0979466", scope: null, file: !57, line: 36, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !122)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !121 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.a44fce96e16342e7:ImplicitAs.ad22d1bbc0605210.Core.b930bfdac0979466", scope: null, file: !57, line: 40, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !122)
|
|
|
// CHECK:STDOUT: !122 = !{!123}
|
|
// CHECK:STDOUT: !122 = !{!123}
|
|
|
// CHECK:STDOUT: !123 = !DILocalVariable(arg: 1, scope: !121, type: !20)
|
|
// CHECK:STDOUT: !123 = !DILocalVariable(arg: 1, scope: !121, type: !20)
|
|
|
-// CHECK:STDOUT: !124 = !DILocation(line: 36, column: 45, scope: !121)
|
|
|
|
|
-// CHECK:STDOUT: !125 = !DILocation(line: 36, column: 38, scope: !121)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !124 = !DILocation(line: 40, column: 45, scope: !121)
|
|
|
|
|
+// CHECK:STDOUT: !125 = !DILocation(line: 40, column: 38, scope: !121)
|
|
|
// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.2a814810f68c37ba", scope: null, file: !34, line: 29, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !127)
|
|
// CHECK:STDOUT: !126 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.Optional.Core.2a814810f68c37ba", scope: null, file: !34, line: 29, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !127)
|
|
|
// CHECK:STDOUT: !127 = !{!128}
|
|
// CHECK:STDOUT: !127 = !{!128}
|
|
|
// CHECK:STDOUT: !128 = !DILocalVariable(arg: 1, scope: !126, type: !20)
|
|
// CHECK:STDOUT: !128 = !DILocalVariable(arg: 1, scope: !126, type: !20)
|
|
@@ -386,12 +386,12 @@ fn AddOrRemoveConst(a: i32, b: const i32) {
|
|
|
// CHECK:STDOUT: !134 = !DILocation(line: 119, column: 5, scope: !131)
|
|
// CHECK:STDOUT: !134 = !DILocation(line: 119, column: 5, scope: !131)
|
|
|
// CHECK:STDOUT: !135 = !DILocation(line: 120, column: 5, scope: !131)
|
|
// CHECK:STDOUT: !135 = !DILocation(line: 120, column: 5, scope: !131)
|
|
|
// CHECK:STDOUT: !136 = !DILocation(line: 121, column: 5, scope: !131)
|
|
// CHECK:STDOUT: !136 = !DILocation(line: 121, column: 5, scope: !131)
|
|
|
-// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.14b8745117b2bc54:ImplicitAs.a9271c1e04015f9c.Core.64ccbb8e5d9a0b8e", scope: null, file: !57, line: 32, type: !138, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !140)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !137 = distinct !DISubprogram(name: "Convert", linkageName: "_CConvert.14b8745117b2bc54:ImplicitAs.a9271c1e04015f9c.Core.64ccbb8e5d9a0b8e", scope: null, file: !57, line: 35, type: !138, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !140)
|
|
|
// CHECK:STDOUT: !138 = !DISubroutineType(types: !139)
|
|
// CHECK:STDOUT: !138 = !DISubroutineType(types: !139)
|
|
|
// CHECK:STDOUT: !139 = !{!20, !20}
|
|
// CHECK:STDOUT: !139 = !{!20, !20}
|
|
|
// CHECK:STDOUT: !140 = !{!141}
|
|
// CHECK:STDOUT: !140 = !{!141}
|
|
|
// CHECK:STDOUT: !141 = !DILocalVariable(arg: 1, scope: !137, type: !20)
|
|
// CHECK:STDOUT: !141 = !DILocalVariable(arg: 1, scope: !137, type: !20)
|
|
|
-// CHECK:STDOUT: !142 = !DILocation(line: 32, column: 38, scope: !137)
|
|
|
|
|
|
|
+// CHECK:STDOUT: !142 = !DILocation(line: 35, column: 38, scope: !137)
|
|
|
// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.3e8267224c5dc9c2:OptionalStorage.Core.d9fa83018d7f62e1", scope: null, file: !34, line: 115, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !144)
|
|
// CHECK:STDOUT: !143 = distinct !DISubprogram(name: "Some", linkageName: "_CSome.3e8267224c5dc9c2:OptionalStorage.Core.d9fa83018d7f62e1", scope: null, file: !34, line: 115, type: !45, spFlags: DISPFlagDefinition, unit: !2, retainedNodes: !144)
|
|
|
// CHECK:STDOUT: !144 = !{!145}
|
|
// CHECK:STDOUT: !144 = !{!145}
|
|
|
// CHECK:STDOUT: !145 = !DILocalVariable(arg: 1, scope: !143, type: !20)
|
|
// CHECK:STDOUT: !145 = !DILocalVariable(arg: 1, scope: !143, type: !20)
|