1 ; RUN: llc < %s | FileCheck %s 2 target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64" 3 target triple = "powerpc64-unknown-linux-gnu" 4 5 ; Function Attrs: nounwind 6 define void @foo() #0 { 7 entry: 8 call void @llvm.eh.unwind.init(), !dbg !9 9 ret void, !dbg !10 10 } 11 12 ; CHECK: @foo 13 ; CHECK-NOT: .cfi_offset vrsave 14 ; CHECK: blr 15 16 ; Function Attrs: nounwind 17 declare void @llvm.eh.unwind.init() #0 18 19 attributes #0 = { nounwind } 20 21 !llvm.dbg.cu = !{!0} 22 !llvm.module.flags = !{!8} 23 24 !0 = metadata !{i32 786449, metadata !1, i32 12, metadata !"clang version 3.4", i1 false, metadata !"", i32 0, metadata !2, metadata !2, metadata !3, metadata !2, metadata !2, metadata !""} ; [ DW_TAG_compile_unit ] [/tmp/unwind-dw2.c] [DW_LANG_C99] 25 !1 = metadata !{metadata !"/tmp/unwind-dw2.c", metadata !"/tmp"} 26 !2 = metadata !{i32 0} 27 !3 = metadata !{metadata !4} 28 !4 = metadata !{i32 786478, metadata !1, metadata !5, metadata !"foo", metadata !"foo", metadata !"", i32 1, metadata !6, i1 false, i1 true, i32 0, i32 0, null, i32 0, i1 false, void ()* @foo, null, null, metadata !2, i32 1} ; [ DW_TAG_subprogram ] [line 1] [def] [foo] 29 !5 = metadata !{i32 786473, metadata !1} ; [ DW_TAG_file_type ] [/tmp/unwind-dw2.c] 30 !6 = metadata !{i32 786453, i32 0, i32 0, metadata !"", i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !7, i32 0, i32 0} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] 31 !7 = metadata !{null} 32 !8 = metadata !{i32 2, metadata !"Dwarf Version", i32 3} 33 !9 = metadata !{i32 2, i32 0, metadata !4, null} 34 !10 = metadata !{i32 3, i32 0, metadata !4, null} 35