35 lines · plain
1; RUN: llc -verify-machineinstrs < %s | FileCheck %s2target 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"3target triple = "powerpc64-unknown-linux-gnu"4 5; Function Attrs: nounwind6define void @foo() #0 !dbg !4 {7entry:8 call void @llvm.eh.unwind.init(), !dbg !99 ret void, !dbg !1010}11 12; CHECK: @foo13; CHECK-NOT: .cfi_offset vrsave14; CHECK: blr15 16; Function Attrs: nounwind17declare void @llvm.eh.unwind.init() #018 19attributes #0 = { nounwind }20 21!llvm.dbg.cu = !{!0}22!llvm.module.flags = !{!8, !11}23 24!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.4", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !2, imports: !2)25!1 = !DIFile(filename: "/tmp/unwind-dw2.c", directory: "/tmp")26!2 = !{}27!4 = distinct !DISubprogram(name: "foo", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, unit: !0, scopeLine: 1, file: !1, scope: !5, type: !6, retainedNodes: !2)28!5 = !DIFile(filename: "/tmp/unwind-dw2.c", directory: "/tmp")29!6 = !DISubroutineType(types: !7)30!7 = !{null}31!8 = !{i32 2, !"Dwarf Version", i32 3}32!9 = !DILocation(line: 2, scope: !4)33!10 = !DILocation(line: 3, scope: !4)34!11 = !{i32 1, !"Debug Info Version", i32 3}35