brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · 4585dcb Raw
40 lines · plain
1; RUN: llc < %s -mtriple=i686-pc-linux -relocation-model=pic | FileCheck %s2 3target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"4target triple = "i686-pc-linux"5 6; Function Attrs: nounwind7define void @test() #0 !dbg !4 {8entry:9  call void @bar(), !dbg !1110  ret void, !dbg !1211}12 13declare void @bar(...) #114 15attributes #0 = { nounwind "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="i686" "use-soft-float"="false" }16attributes #1 = { "disable-tail-calls"="false" "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="i686" "use-soft-float"="false" }17 18!llvm.dbg.cu = !{!0}19!llvm.module.flags = !{!7, !8, !9}20!llvm.ident = !{!10}21 22!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)23!1 = !DIFile(filename: "test.c", directory: "movpc-test")24!2 = !{}25!4 = distinct !DISubprogram(name: "test", scope: !1, file: !1, line: 2, type: !5, isLocal: false, isDefinition: true, scopeLine: 3, isOptimized: false, unit: !0, retainedNodes: !2)26!5 = !DISubroutineType(types: !6)27!6 = !{null}28!7 = !{i32 2, !"Dwarf Version", i32 4}29!8 = !{i32 2, !"Debug Info Version", i32 3}30!9 = !{i32 1, !"PIC Level", i32 2}31!10 = !{!"clang version 3.8.0"}32!11 = !DILocation(line: 4, column: 3, scope: !4)33!12 = !DILocation(line: 5, column: 1, scope: !4)34 35; CHECK: calll .L0$pb36; CHECK-NEXT: .cfi_adjust_cfa_offset 437; CHECK-NEXT: .L0$pb:38; CHECK-NEXT: popl39; CHECK-NEXT: .cfi_adjust_cfa_offset -440