brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.9 KiB · c451606 Raw
36 lines · plain
1; RUN: llc %s -mtriple=i386-unknown-linux-gnu -filetype=asm -o - | FileCheck %s2 3; CHECK:   .section .debug_addr4; CHECK-NEXT:   .long   .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution5; CHECK-NEXT: .Ldebug_addr_start0:6; CHECK-NEXT:   .short  5 # DWARF version number7; CHECK-NEXT:   .byte   4 # Address size8; CHECK-NEXT:   .byte   0 # Segment selector size9; CHECK-NEXT: .Laddr_table_base0:10; CHECK-NEXT:   .long   .Lfunc_begin011; CHECK-NEXT: .Ldebug_addr_end0:12 13; Function Attrs: noinline nounwind optnone uwtable14define dso_local void @foo() #0 !dbg !7 {15entry:16  ret void, !dbg !1017}18 19attributes #0 = { noinline nounwind optnone uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "min-legal-vector-width"="0" "frame-pointer"="all" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "use-soft-float"="false" }20 21!llvm.dbg.cu = !{!0}22!llvm.module.flags = !{!3, !4, !5}23!llvm.ident = !{!6}24 25!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 8.0.0 (trunk 350004) (llvm/trunk 350008)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, nameTableKind: None)26!1 = !DIFile(filename: "foo.c", directory: "/usr/local/google/home/blaikie/dev/scratch")27!2 = !{}28!3 = !{i32 2, !"Dwarf Version", i32 5}29!4 = !{i32 2, !"Debug Info Version", i32 3}30!5 = !{i32 1, !"wchar_size", i32 4}31!6 = !{!"clang version 8.0.0 (trunk 350004) (llvm/trunk 350008)"}32!7 = distinct !DISubprogram(name: "foo", scope: !1, file: !1, line: 1, type: !8, scopeLine: 1, spFlags: DISPFlagDefinition, unit: !0, retainedNodes: !2)33!8 = !DISubroutineType(types: !9)34!9 = !{null}35!10 = !DILocation(line: 2, column: 1, scope: !7)36