brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 6736c50 Raw
30 lines · plain
1; RUN: llc -filetype=asm -O0 -mtriple=x86_64-linux-gnu < %s | FileCheck %s2 3; CHECK:      .long   .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit4; CHECK-NEXT: .Ldebug_info_start0:5; CHECK-NOT:  .byte   06; CHECK:      .byte   0                       # End Of Children Mark7; CHECK-NEXT: .Ldebug_info_end0:8 9 10define dso_local void @_Z2f1v() !dbg !7 {11entry:12  ret void, !dbg !1013}14 15!llvm.dbg.cu = !{!0}16!llvm.module.flags = !{!3, !4, !5}17!llvm.ident = !{!6}18 19!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 8.0.0 (trunk 349394) (llvm/trunk 349377)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, nameTableKind: None)20!1 = !DIFile(filename: "foo.cpp", directory: "/usr/local/google/home/blaikie/dev/scratch")21!2 = !{}22!3 = !{i32 2, !"Dwarf Version", i32 4}23!4 = !{i32 2, !"Debug Info Version", i32 3}24!5 = !{i32 1, !"wchar_size", i32 4}25!6 = !{!"clang version 8.0.0 (trunk 349394) (llvm/trunk 349377)"}26!7 = distinct !DISubprogram(name: "f1", linkageName: "_Z2f1v", scope: !1, file: !1, line: 1, type: !8, scopeLine: 1, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2)27!8 = !DISubroutineType(types: !9)28!9 = !{null}29!10 = !DILocation(line: 1, column: 12, scope: !7)30