2 ; RUN: llc -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t %s
3 ; RUN: llvm-dwarfdump -debug-line %t | FileCheck %s
5 ; CHECK: Address Line Column File ISA Discriminator OpIndex Flags
6 ; CHECK-NEXT: ------------------ ------ ------ ------ --- ------------- ------- -------------
7 ; CHECK-NEXT: 0x0000000000000000 3 0 1 0 0 0 is_stmt prologue_end
8 ; CHECK-NEXT: 0x000000000000001c 3 0 1 0 0 0 is_stmt end_sequence
10 define i32 @main() !dbg !7 {
16 !llvm.module.flags = !{!2, !3, !4, !5}
19 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, splitDebugInlining: false, nameTableKind: None)
20 !1 = !DIFile(filename: "1.c", directory: "./")
21 !2 = !{i32 7, !"Dwarf Version", i32 3}
22 !3 = !{i32 2, !"Debug Info Version", i32 3}
23 !4 = !{i32 1, !"wchar_size", i32 2}
24 !5 = !{i32 8, !"PIC Level", i32 2}
26 !7 = distinct !DISubprogram(name: "main", scope: !1, file: !1, line: 1, type: !8, scopeLine: 2, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !11)
27 !8 = !DISubroutineType(types: !9)
29 !10 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
31 !12 = !DILocation(line: 3, scope: !7)