brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 78e90cc Raw
32 lines · plain
1 2; RUN: llc -mtriple powerpc-ibm-aix-xcoff -filetype=obj -o %t %s 3; RUN: llvm-dwarfdump -debug-line %t | FileCheck %s4 5; CHECK:        Address            Line   Column File   ISA Discriminator OpIndex Flags6; CHECK-NEXT:   ------------------ ------ ------ ------ --- ------------- ------- -------------7; CHECK-NEXT:   0x0000000000000000      3      0      1   0             0       0  is_stmt prologue_end8; CHECK-NEXT:   0x000000000000001c      3      0      1   0             0       0  is_stmt end_sequence9 10define i32 @main() !dbg !7 {11entry:12  ret i32 0, !dbg !1213}14 15!llvm.dbg.cu = !{!0}16!llvm.module.flags = !{!2, !3, !4, !5}17!llvm.ident = !{!6}18 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}25!6 = !{!"clang"}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)28!9 = !{!10}29!10 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)30!11 = !{}31!12 = !DILocation(line: 3, scope: !7)32