29 lines · plain
1; RUN: llc < %s | FileCheck %s2; CHECK-NOT: .cfi_startproc3; CHECK: .cfi_sections .debug_frame4; CHECK: .cfi_startproc5 6target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"7target triple = "x86_64-unknown-linux-gnu"8 9; Function Attrs: nounwind10define void @f() #0 !dbg !5 {11entry:12 ret void, !dbg !813}14 15attributes #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" "use-soft-float"="false" }16 17!llvm.dbg.cu = !{!0}18!llvm.module.flags = !{!3, !4}19 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")22!2 = !{}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)27!7 = !{null}28!8 = !DILocation(line: 1, column: 1, scope: !5)29