@@ -215,7 +215,7 @@ define void @composite_type() !dbg !3 {
215215; // -----
216216
217217; CHECK-DAG: #[[FILE:.+]] = #llvm.di_file<"debug-info.ll" in "/">
218- ; CHECK-DAG: #[[CU:.+]] = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_C, file = #[[FILE]], isOptimized = false, emissionKind = None, nameTableKind = None>
218+ ; CHECK-DAG: #[[CU:.+]] = #llvm.di_compile_unit<id = distinct[0]<>, sourceLanguage = DW_LANG_C, file = #[[FILE]], isOptimized = false, emissionKind = None, nameTableKind = None, splitDebugFilename = "test.dwo" >
219219; Verify an empty subroutine types list is supported.
220220; CHECK-DAG: #[[SP_TYPE:.+]] = #llvm.di_subroutine_type<callingConvention = DW_CC_normal>
221221; CHECK-DAG: #[[SP:.+]] = #llvm.di_subprogram<id = distinct[{{.*}}]<>, compileUnit = #[[CU]], scope = #[[FILE]], name = "subprogram", linkageName = "subprogram", file = #[[FILE]], line = 42, scopeLine = 42, subprogramFlags = Definition, type = #[[SP_TYPE]]>
@@ -227,7 +227,7 @@ define void @subprogram() !dbg !3 {
227227!llvm.dbg.cu = !{!1 }
228228!llvm.module.flags = !{!0 }
229229!0 = !{i32 2 , !"Debug Info Version" , i32 3 }
230- !1 = distinct !DICompileUnit (language: DW_LANG_C, file: !2 , nameTableKind: None)
230+ !1 = distinct !DICompileUnit (language: DW_LANG_C, file: !2 , nameTableKind: None, splitDebugFilename: "test.dwo" )
231231!2 = !DIFile (filename: "debug-info.ll" , directory: "/" )
232232!3 = distinct !DISubprogram (name: "subprogram" , linkageName: "subprogram" , scope: !2 , file: !2 , line: 42 , scopeLine: 42 , spFlags: DISPFlagDefinition, unit: !1 , type: !4 )
233233!4 = !DISubroutineType (cc: DW_CC_normal, types: !5 )
0 commit comments