1 ; RUN: llc < %s | FileCheck %s
2 ; CHECK-NOT: .cfi_startproc
3 ; CHECK: .cfi_sections .debug_frame
4 ; CHECK: .cfi_startproc
6 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
7 target triple = "x86_64-unknown-linux-gnu"
9 ; Function Attrs: nounwind
10 define void @f() #0 !dbg !5 {
15 attributes #0 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "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" "unsafe-fp-math"="false" "use-soft-float"="false" }
18 !llvm.module.flags = !{!3, !4}
20 !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 4.0.0 (trunk 290216)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2)
21 !1 = !DIFile(filename: "test.c", directory: "/tmp")
23 !3 = !{i32 2, !"Dwarf Version", i32 4}
24 !4 = !{i32 2, !"Debug Info Version", i32 3}
25 !5 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !6, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
26 !6 = !DISubroutineType(types: !7)
28 !8 = !DILocation(line: 1, column: 1, scope: !5)