1 ; RUN: llc < %s | FileCheck %s
2 ; RUN: llc -mtriple=arm-netbsd-eabi < %s | FileCheck %s
3 ; CHECK-NOT: .cfi_startproc
4 ; CHECK: .cfi_sections .debug_frame
5 ; CHECK: .cfi_startproc
7 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
8 target triple = "armv4t--linux"
10 ; Function Attrs: nounwind
11 define arm_aapcscc void @f() #0 !dbg !7 {
16 attributes #0 = { nounwind "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "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"="arm7tdmi" "target-features"="+soft-float,+strict-align,-crypto,-neon" "unsafe-fp-math"="false" "use-soft-float"="true" }
19 !llvm.module.flags = !{!3, !4, !5, !6}
21 !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)
22 !1 = !DIFile(filename: "test.c", directory: "/tmp")
24 !3 = !{i32 2, !"Dwarf Version", i32 4}
25 !4 = !{i32 2, !"Debug Info Version", i32 3}
26 !5 = !{i32 1, !"wchar_size", i32 4}
27 !6 = !{i32 1, !"min_enum_size", i32 4}
28 !7 = distinct !DISubprogram(name: "f", scope: !1, file: !1, line: 1, type: !8, isLocal: false, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
29 !8 = !DISubroutineType(types: !9)
31 !10 = !DILocation(line: 1, column: 1, scope: !7)