|
@@ -6,8 +6,8 @@ define void @_Z3foov() !dbg !9 {
|
|
ret void
|
|
ret void
|
|
}
|
|
}
|
|
|
|
|
|
-; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14}
|
|
|
|
-!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14}
|
|
|
|
|
|
+; CHECK: !named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15}
|
|
|
|
+!named = !{!0, !1, !2, !3, !4, !5, !6, !7, !8, !9, !10, !11, !12, !13, !14, !15}
|
|
|
|
|
|
!0 = !{null}
|
|
!0 = !{null}
|
|
!1 = distinct !DICompositeType(tag: DW_TAG_structure_type)
|
|
!1 = distinct !DICompositeType(tag: DW_TAG_structure_type)
|
|
@@ -17,7 +17,7 @@ define void @_Z3foov() !dbg !9 {
|
|
!5 = distinct !{}
|
|
!5 = distinct !{}
|
|
!6 = distinct !{}
|
|
!6 = distinct !{}
|
|
|
|
|
|
-; CHECK: !7 = distinct !DISubprogram(scope: null, isLocal: false, isDefinition: true, isOptimized: false, unit: !8)
|
|
|
|
|
|
+; CHECK: !7 = distinct !DISubprogram(scope: null, spFlags: DISPFlagDefinition, unit: !8)
|
|
!7 = distinct !DISubprogram(unit: !8)
|
|
!7 = distinct !DISubprogram(unit: !8)
|
|
|
|
|
|
!8 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang",
|
|
!8 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang",
|
|
@@ -25,10 +25,10 @@ define void @_Z3foov() !dbg !9 {
|
|
isOptimized: true, flags: "-O2",
|
|
isOptimized: true, flags: "-O2",
|
|
splitDebugFilename: "abc.debug", emissionKind: 2)
|
|
splitDebugFilename: "abc.debug", emissionKind: 2)
|
|
|
|
|
|
-; CHECK: !9 = !DISubprogram(scope: null, isLocal: false, isDefinition: false, isOptimized: false)
|
|
|
|
|
|
+; CHECK: !9 = !DISubprogram(scope: null, spFlags: 0)
|
|
!9 = !DISubprogram(isDefinition: false)
|
|
!9 = !DISubprogram(isDefinition: false)
|
|
|
|
|
|
-; CHECK: !10 = distinct !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1, file: !2, line: 7, type: !3, isLocal: true, isDefinition: true, scopeLine: 8, containingType: !4, virtuality: DW_VIRTUALITY_pure_virtual, virtualIndex: 10, thisAdjustment: 3, flags: DIFlagPrototyped | DIFlagNoReturn, isOptimized: true, unit: !8, templateParams: !5, declaration: !9, retainedNodes: !6)
|
|
|
|
|
|
+; CHECK: !10 = distinct !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1, file: !2, line: 7, type: !3, scopeLine: 8, containingType: !4, virtualIndex: 10, thisAdjustment: 3, flags: DIFlagPrototyped | DIFlagNoReturn, spFlags: DISPFlagPureVirtual | DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized, unit: !8, templateParams: !5, declaration: !9, retainedNodes: !6)
|
|
!10 = distinct !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1,
|
|
!10 = distinct !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1,
|
|
file: !2, line: 7, type: !3, isLocal: true,
|
|
file: !2, line: 7, type: !3, isLocal: true,
|
|
isDefinition: true, scopeLine: 8,
|
|
isDefinition: true, scopeLine: 8,
|
|
@@ -63,12 +63,21 @@ define void @_Z3foov() !dbg !9 {
|
|
|
|
|
|
!13 = !{!4}
|
|
!13 = !{!4}
|
|
; CHECK: !13 = !{!4}
|
|
; CHECK: !13 = !{!4}
|
|
-; CHECK: !14 = distinct !DISubprogram(name: "foo", scope: !1, file: !2, line: 1, type: !3, isLocal: true, isDefinition: true, scopeLine: 2, isOptimized: false, unit: !8, thrownTypes: !13)
|
|
|
|
|
|
+; CHECK: !14 = distinct !DISubprogram(name: "foo", scope: !1, file: !2, line: 1, type: !3, scopeLine: 2, spFlags: DISPFlagLocalToUnit | DISPFlagDefinition, unit: !8, thrownTypes: !13)
|
|
!14 = distinct !DISubprogram(name: "foo", scope: !1,
|
|
!14 = distinct !DISubprogram(name: "foo", scope: !1,
|
|
file: !2, line: 1, type: !3, isLocal: true,
|
|
file: !2, line: 1, type: !3, isLocal: true,
|
|
isDefinition: true, scopeLine: 2, isOptimized: false,
|
|
isDefinition: true, scopeLine: 2, isOptimized: false,
|
|
unit: !8, thrownTypes: !13)
|
|
unit: !8, thrownTypes: !13)
|
|
|
|
|
|
-!15 = !{i32 1, !"Debug Info Version", i32 3}
|
|
|
|
-!llvm.module.flags = !{!15}
|
|
|
|
|
|
+; CHECK: !15 = distinct !DISubprogram({{.*}}, flags: DIFlagPrototyped, spFlags: DISPFlagPureVirtual | DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized,
|
|
|
|
+!15 = distinct !DISubprogram(name: "foo", linkageName: "_Zfoov", scope: !1,
|
|
|
|
+ file: !2, line: 7, type: !3, scopeLine: 8,
|
|
|
|
+ containingType: !4, virtualIndex: 0,
|
|
|
|
+ flags: DIFlagPrototyped,
|
|
|
|
+ spFlags: DISPFlagPureVirtual | DISPFlagLocalToUnit | DISPFlagDefinition | DISPFlagOptimized,
|
|
|
|
+ unit: !8, templateParams: !5, declaration: !9,
|
|
|
|
+ retainedNodes: !6)
|
|
|
|
+
|
|
|
|
+!16 = !{i32 1, !"Debug Info Version", i32 3}
|
|
|
|
+!llvm.module.flags = !{!16}
|
|
!llvm.dbg.cu = !{!8}
|
|
!llvm.dbg.cu = !{!8}
|