mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:01:08 +01:00
Classify decorated built-in types as trivially destructible (#7847)
Types like constant pointers and `MaybeUnformed(i32)` should have trivial destruction, but were classified as non-trivially destructible.
This commit is contained in:
@@ -116,29 +116,17 @@ fn M() {
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define weak_odr void @"_CSelfDestruct.7945ecba5c505fc0:core.Destroy.Core"(ptr %self) #0 !dbg !69 {
|
||||
// CHECK:STDOUT: define weak_odr void @"_CSelfDestruct.dc14d4dd21801791:core.Destroy.Core"(ptr %self) #0 !dbg !69 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: ret void, !dbg !71
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define weak_odr void @"_CSelfDestruct.dc14d4dd21801791:core.Destroy.Core"(ptr %self) #0 !dbg !73 {
|
||||
// CHECK:STDOUT: define weak_odr void @"_CSelfDestruct.f58524831c37807e:core.Destroy.Core"(ptr %self) #0 !dbg !73 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: ret void, !dbg !75
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define weak_odr void @"_CSelfDestruct.6dae29ece9a708c4:core.Destroy.Core"(ptr %self) #0 !dbg !77 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: ret void, !dbg !79
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define weak_odr void @"_CSelfDestruct.f58524831c37807e:core.Destroy.Core"(ptr %self) #0 !dbg !81 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: ret void, !dbg !83
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
|
||||
// CHECK:STDOUT: declare void @llvm.memcpy.p0.p0.i64(ptr noalias writeonly captures(none), ptr noalias readonly captures(none), i64, i1 immarg) #1
|
||||
// CHECK:STDOUT:
|
||||
@@ -146,64 +134,64 @@ fn M() {
|
||||
// CHECK:STDOUT: declare void @llvm.lifetime.start.p0(ptr captures(none)) #1
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.4d6ceefeb7f772f4(i32 %x, i32 %count) #0 !dbg !85 {
|
||||
// CHECK:STDOUT: define linkonce_odr i32 @_CF.Main.4d6ceefeb7f772f4(i32 %x, i32 %count) #0 !dbg !77 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !92
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !93
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !84
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !85
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.then: ; preds = %entry
|
||||
// CHECK:STDOUT: ret i32 %x, !dbg !95
|
||||
// CHECK:STDOUT: ret i32 %x, !dbg !87
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.else: ; preds = %entry
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !97
|
||||
// CHECK:STDOUT: %F.call = call i32 @_CF.Main.4d6ceefeb7f772f4(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !98
|
||||
// CHECK:STDOUT: ret i32 %F.call, !dbg !99
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !89
|
||||
// CHECK:STDOUT: %F.call = call i32 @_CF.Main.4d6ceefeb7f772f4(i32 %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !90
|
||||
// CHECK:STDOUT: ret i32 %F.call, !dbg !91
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define linkonce_odr double @_CF.Main.c5e4ba542a56b71f(double %x, i32 %count) #0 !dbg !101 {
|
||||
// CHECK:STDOUT: define linkonce_odr double @_CF.Main.c5e4ba542a56b71f(double %x, i32 %count) #0 !dbg !93 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !108
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !109
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !100
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !101
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.then: ; preds = %entry
|
||||
// CHECK:STDOUT: ret double %x, !dbg !111
|
||||
// CHECK:STDOUT: ret double %x, !dbg !103
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.else: ; preds = %entry
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !113
|
||||
// CHECK:STDOUT: %F.call = call double @_CF.Main.c5e4ba542a56b71f(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !114
|
||||
// CHECK:STDOUT: ret double %F.call, !dbg !115
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !105
|
||||
// CHECK:STDOUT: %F.call = call double @_CF.Main.c5e4ba542a56b71f(double %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !106
|
||||
// CHECK:STDOUT: ret double %F.call, !dbg !107
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.a76b78461416b4a8(ptr %x, i32 %count) #0 !dbg !117 {
|
||||
// CHECK:STDOUT: define linkonce_odr ptr @_CF.Main.a76b78461416b4a8(ptr %x, i32 %count) #0 !dbg !109 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !124
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !125
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !116
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !117
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.then: ; preds = %entry
|
||||
// CHECK:STDOUT: ret ptr %x, !dbg !127
|
||||
// CHECK:STDOUT: ret ptr %x, !dbg !119
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.else: ; preds = %entry
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !129
|
||||
// CHECK:STDOUT: %F.call = call ptr @_CF.Main.a76b78461416b4a8(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !130
|
||||
// CHECK:STDOUT: ret ptr %F.call, !dbg !131
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !121
|
||||
// CHECK:STDOUT: %F.call = call ptr @_CF.Main.a76b78461416b4a8(ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !122
|
||||
// CHECK:STDOUT: ret ptr %F.call, !dbg !123
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; Function Attrs: nounwind
|
||||
// CHECK:STDOUT: define linkonce_odr void @_CF.Main.42513763e01cba2c(ptr sret({}) %return, ptr %x, i32 %count) #0 !dbg !149 {
|
||||
// CHECK:STDOUT: define linkonce_odr void @_CF.Main.42513763e01cba2c(ptr sret({}) %return, ptr %x, i32 %count) #0 !dbg !141 {
|
||||
// CHECK:STDOUT: entry:
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !156
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !157
|
||||
// CHECK:STDOUT: %Int.as.OrderedWith.impl.Greater.call = icmp sgt i32 %count, 0, !dbg !148
|
||||
// CHECK:STDOUT: br i1 %Int.as.OrderedWith.impl.Greater.call, label %if.then, label %if.else, !dbg !149
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.then: ; preds = %entry
|
||||
// CHECK:STDOUT: call void @"_COp.C.Main:Copy.Core"(ptr %return, ptr %x), !dbg !158
|
||||
// CHECK:STDOUT: ret void, !dbg !159
|
||||
// CHECK:STDOUT: call void @"_COp.C.Main:Copy.Core"(ptr %return, ptr %x), !dbg !150
|
||||
// CHECK:STDOUT: ret void, !dbg !151
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: if.else: ; preds = %entry
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !161
|
||||
// CHECK:STDOUT: call void @_CF.Main.42513763e01cba2c(ptr %return, ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !162
|
||||
// CHECK:STDOUT: ret void, !dbg !163
|
||||
// CHECK:STDOUT: %Int.as.AddWith.impl.Op.call = add i32 %count, 1, !dbg !153
|
||||
// CHECK:STDOUT: call void @_CF.Main.42513763e01cba2c(ptr %return, ptr %x, i32 %Int.as.AddWith.impl.Op.call), !dbg !154
|
||||
// CHECK:STDOUT: ret void, !dbg !155
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: ; uselistorder directives
|
||||
@@ -272,61 +260,53 @@ fn M() {
|
||||
// CHECK:STDOUT: !66 = !DILocalVariable(arg: 1, scope: !65, type: !7)
|
||||
// CHECK:STDOUT: !67 = !DILocation(line: 31, column: 3, scope: !65)
|
||||
// CHECK:STDOUT: !68 = !{!66}
|
||||
// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "SelfDestruct", linkageName: "_CSelfDestruct.7945ecba5c505fc0:core.Destroy.Core", scope: null, file: !4, line: 30, type: !13, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !72)
|
||||
// CHECK:STDOUT: !69 = distinct !DISubprogram(name: "SelfDestruct", linkageName: "_CSelfDestruct.dc14d4dd21801791:core.Destroy.Core", scope: null, file: !4, line: 30, type: !13, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !72)
|
||||
// CHECK:STDOUT: !70 = !DILocalVariable(arg: 1, scope: !69, type: !7)
|
||||
// CHECK:STDOUT: !71 = !DILocation(line: 30, column: 3, scope: !69)
|
||||
// CHECK:STDOUT: !72 = !{!70}
|
||||
// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "SelfDestruct", linkageName: "_CSelfDestruct.dc14d4dd21801791:core.Destroy.Core", scope: null, file: !4, line: 30, type: !13, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !76)
|
||||
// CHECK:STDOUT: !74 = !DILocalVariable(arg: 1, scope: !73, type: !7)
|
||||
// CHECK:STDOUT: !75 = !DILocation(line: 30, column: 3, scope: !73)
|
||||
// CHECK:STDOUT: !73 = distinct !DISubprogram(name: "SelfDestruct", linkageName: "_CSelfDestruct.f58524831c37807e:core.Destroy.Core", scope: null, file: !4, line: 29, type: !15, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !76)
|
||||
// CHECK:STDOUT: !74 = !DILocalVariable(arg: 1, scope: !73, type: !6)
|
||||
// CHECK:STDOUT: !75 = !DILocation(line: 29, column: 3, scope: !73)
|
||||
// CHECK:STDOUT: !76 = !{!74}
|
||||
// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "SelfDestruct", linkageName: "_CSelfDestruct.6dae29ece9a708c4:core.Destroy.Core", scope: null, file: !4, line: 29, type: !15, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !80)
|
||||
// CHECK:STDOUT: !77 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.4d6ceefeb7f772f4", scope: null, file: !4, line: 21, type: !39, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !92)
|
||||
// CHECK:STDOUT: !78 = !DILocalVariable(arg: 1, scope: !77, type: !6)
|
||||
// CHECK:STDOUT: !79 = !DILocation(line: 29, column: 3, scope: !77)
|
||||
// CHECK:STDOUT: !80 = !{!78}
|
||||
// CHECK:STDOUT: !81 = distinct !DISubprogram(name: "SelfDestruct", linkageName: "_CSelfDestruct.f58524831c37807e:core.Destroy.Core", scope: null, file: !4, line: 29, type: !15, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !84)
|
||||
// CHECK:STDOUT: !82 = !DILocalVariable(arg: 1, scope: !81, type: !6)
|
||||
// CHECK:STDOUT: !83 = !DILocation(line: 29, column: 3, scope: !81)
|
||||
// CHECK:STDOUT: !84 = !{!82}
|
||||
// CHECK:STDOUT: !85 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.4d6ceefeb7f772f4", scope: null, file: !4, line: 21, type: !39, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !100)
|
||||
// CHECK:STDOUT: !86 = !DILocalVariable(arg: 1, scope: !85, type: !6)
|
||||
// CHECK:STDOUT: !87 = !DILocalVariable(arg: 2, scope: !85, type: !6)
|
||||
// CHECK:STDOUT: !92 = !DILocation(line: 22, column: 7, scope: !85)
|
||||
// CHECK:STDOUT: !93 = !DILocation(line: 22, column: 6, scope: !85)
|
||||
// CHECK:STDOUT: !95 = !DILocation(line: 23, column: 5, scope: !85)
|
||||
// CHECK:STDOUT: !97 = !DILocation(line: 25, column: 15, scope: !85)
|
||||
// CHECK:STDOUT: !98 = !DILocation(line: 25, column: 10, scope: !85)
|
||||
// CHECK:STDOUT: !99 = !DILocation(line: 25, column: 3, scope: !85)
|
||||
// CHECK:STDOUT: !100 = !{!86, !87}
|
||||
// CHECK:STDOUT: !101 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c5e4ba542a56b71f", scope: null, file: !4, line: 21, type: !43, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !116)
|
||||
// CHECK:STDOUT: !102 = !DILocalVariable(arg: 1, scope: !101, type: !7)
|
||||
// CHECK:STDOUT: !103 = !DILocalVariable(arg: 2, scope: !101, type: !6)
|
||||
// CHECK:STDOUT: !108 = !DILocation(line: 22, column: 7, scope: !101)
|
||||
// CHECK:STDOUT: !109 = !DILocation(line: 22, column: 6, scope: !101)
|
||||
// CHECK:STDOUT: !111 = !DILocation(line: 23, column: 5, scope: !101)
|
||||
// CHECK:STDOUT: !113 = !DILocation(line: 25, column: 15, scope: !101)
|
||||
// CHECK:STDOUT: !114 = !DILocation(line: 25, column: 10, scope: !101)
|
||||
// CHECK:STDOUT: !115 = !DILocation(line: 25, column: 3, scope: !101)
|
||||
// CHECK:STDOUT: !116 = !{!102, !103}
|
||||
// CHECK:STDOUT: !117 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a76b78461416b4a8", scope: null, file: !4, line: 21, type: !43, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !132)
|
||||
// CHECK:STDOUT: !118 = !DILocalVariable(arg: 1, scope: !117, type: !7)
|
||||
// CHECK:STDOUT: !119 = !DILocalVariable(arg: 2, scope: !117, type: !6)
|
||||
// CHECK:STDOUT: !124 = !DILocation(line: 22, column: 7, scope: !117)
|
||||
// CHECK:STDOUT: !125 = !DILocation(line: 22, column: 6, scope: !117)
|
||||
// CHECK:STDOUT: !127 = !DILocation(line: 23, column: 5, scope: !117)
|
||||
// CHECK:STDOUT: !129 = !DILocation(line: 25, column: 15, scope: !117)
|
||||
// CHECK:STDOUT: !130 = !DILocation(line: 25, column: 10, scope: !117)
|
||||
// CHECK:STDOUT: !131 = !DILocation(line: 25, column: 3, scope: !117)
|
||||
// CHECK:STDOUT: !132 = !{!118, !119}
|
||||
// CHECK:STDOUT: !149 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.42513763e01cba2c", scope: null, file: !4, line: 21, type: !43, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !164)
|
||||
// CHECK:STDOUT: !150 = !DILocalVariable(arg: 1, scope: !149, type: !7)
|
||||
// CHECK:STDOUT: !151 = !DILocalVariable(arg: 2, scope: !149, type: !6)
|
||||
// CHECK:STDOUT: !156 = !DILocation(line: 22, column: 7, scope: !149)
|
||||
// CHECK:STDOUT: !157 = !DILocation(line: 22, column: 6, scope: !149)
|
||||
// CHECK:STDOUT: !158 = !DILocation(line: 23, column: 12, scope: !149)
|
||||
// CHECK:STDOUT: !159 = !DILocation(line: 23, column: 5, scope: !149)
|
||||
// CHECK:STDOUT: !161 = !DILocation(line: 25, column: 15, scope: !149)
|
||||
// CHECK:STDOUT: !162 = !DILocation(line: 25, column: 10, scope: !149)
|
||||
// CHECK:STDOUT: !163 = !DILocation(line: 25, column: 3, scope: !149)
|
||||
// CHECK:STDOUT: !164 = !{!150, !151}
|
||||
// CHECK:STDOUT: !79 = !DILocalVariable(arg: 2, scope: !77, type: !6)
|
||||
// CHECK:STDOUT: !84 = !DILocation(line: 22, column: 7, scope: !77)
|
||||
// CHECK:STDOUT: !85 = !DILocation(line: 22, column: 6, scope: !77)
|
||||
// CHECK:STDOUT: !87 = !DILocation(line: 23, column: 5, scope: !77)
|
||||
// CHECK:STDOUT: !89 = !DILocation(line: 25, column: 15, scope: !77)
|
||||
// CHECK:STDOUT: !90 = !DILocation(line: 25, column: 10, scope: !77)
|
||||
// CHECK:STDOUT: !91 = !DILocation(line: 25, column: 3, scope: !77)
|
||||
// CHECK:STDOUT: !92 = !{!78, !79}
|
||||
// CHECK:STDOUT: !93 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.c5e4ba542a56b71f", scope: null, file: !4, line: 21, type: !43, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !108)
|
||||
// CHECK:STDOUT: !94 = !DILocalVariable(arg: 1, scope: !93, type: !7)
|
||||
// CHECK:STDOUT: !95 = !DILocalVariable(arg: 2, scope: !93, type: !6)
|
||||
// CHECK:STDOUT: !100 = !DILocation(line: 22, column: 7, scope: !93)
|
||||
// CHECK:STDOUT: !101 = !DILocation(line: 22, column: 6, scope: !93)
|
||||
// CHECK:STDOUT: !103 = !DILocation(line: 23, column: 5, scope: !93)
|
||||
// CHECK:STDOUT: !105 = !DILocation(line: 25, column: 15, scope: !93)
|
||||
// CHECK:STDOUT: !106 = !DILocation(line: 25, column: 10, scope: !93)
|
||||
// CHECK:STDOUT: !107 = !DILocation(line: 25, column: 3, scope: !93)
|
||||
// CHECK:STDOUT: !108 = !{!94, !95}
|
||||
// CHECK:STDOUT: !109 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.a76b78461416b4a8", scope: null, file: !4, line: 21, type: !43, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !124)
|
||||
// CHECK:STDOUT: !110 = !DILocalVariable(arg: 1, scope: !109, type: !7)
|
||||
// CHECK:STDOUT: !111 = !DILocalVariable(arg: 2, scope: !109, type: !6)
|
||||
// CHECK:STDOUT: !116 = !DILocation(line: 22, column: 7, scope: !109)
|
||||
// CHECK:STDOUT: !117 = !DILocation(line: 22, column: 6, scope: !109)
|
||||
// CHECK:STDOUT: !119 = !DILocation(line: 23, column: 5, scope: !109)
|
||||
// CHECK:STDOUT: !121 = !DILocation(line: 25, column: 15, scope: !109)
|
||||
// CHECK:STDOUT: !122 = !DILocation(line: 25, column: 10, scope: !109)
|
||||
// CHECK:STDOUT: !123 = !DILocation(line: 25, column: 3, scope: !109)
|
||||
// CHECK:STDOUT: !124 = !{!110, !111}
|
||||
// CHECK:STDOUT: !141 = distinct !DISubprogram(name: "F", linkageName: "_CF.Main.42513763e01cba2c", scope: null, file: !4, line: 21, type: !43, spFlags: DISPFlagDefinition, unit: !5, retainedNodes: !156)
|
||||
// CHECK:STDOUT: !142 = !DILocalVariable(arg: 1, scope: !141, type: !7)
|
||||
// CHECK:STDOUT: !143 = !DILocalVariable(arg: 2, scope: !141, type: !6)
|
||||
// CHECK:STDOUT: !148 = !DILocation(line: 22, column: 7, scope: !141)
|
||||
// CHECK:STDOUT: !149 = !DILocation(line: 22, column: 6, scope: !141)
|
||||
// CHECK:STDOUT: !150 = !DILocation(line: 23, column: 12, scope: !141)
|
||||
// CHECK:STDOUT: !151 = !DILocation(line: 23, column: 5, scope: !141)
|
||||
// CHECK:STDOUT: !153 = !DILocation(line: 25, column: 15, scope: !141)
|
||||
// CHECK:STDOUT: !154 = !DILocation(line: 25, column: 10, scope: !141)
|
||||
// CHECK:STDOUT: !155 = !DILocation(line: 25, column: 3, scope: !141)
|
||||
// CHECK:STDOUT: !156 = !{!142, !143}
|
||||
// CHECK:STDOUT:
|
||||
|
||||
Reference in New Issue
Block a user