1; RUN: llvm-as -disable-output < %s -o /dev/null 2>&1 | FileCheck %s 2 3define void @f() #0 !dbg !6 { 4 br label %1, !dbg !9, !llvm.loop !10 5 ret void 6} 7 8!llvm.dbg.cu = !{!0} 9!llvm.module.flags = !{!2, !3, !4} 10 11!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1) 12!1 = !DIFile(filename: "f.c", directory: "./") 13!2 = !{i32 2, !"Dwarf Version", i32 4} 14!3 = !{i32 2, !"Debug Info Version", i32 3} 15!4 = !{i32 7, !"PIC Level", i32 2} 16!6 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 7, type: !7, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0) 17!7 = !DISubroutineType(types: !8) 18!8 = !{} 19!9 = !DILocation(line: 18, column: 2, scope: !6) 20!10 = distinct !{!10, !11} 21!11 = !DILocation(line: 18, column: 2, scope: !12) 22!12 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 7, type: !7, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !13) 23 24; CHECK: warning: ignoring invalid debug info 25; This CU isn't listed in llvm.dbg.cu 26!13 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1) 27