blob: c2a7607674cf53e5ac66884d7580f2f9eeaa4e29 [file] [log] [blame]
Bill Wendling440e9d82013-07-25 00:34:29 +00001; RUN: llc -o /dev/null < %s
Devang Patel075e9b52010-05-04 06:15:30 +00002; Radar 7937664
3%struct.AppleEvent = type opaque
4
Bill Wendling187d3dd2013-08-22 21:28:54 +00005define void @DisposeDMNotificationUPP(void (%struct.AppleEvent*)* %userUPP) "no-frame-pointer-elim-non-leaf" nounwind ssp {
Devang Patel075e9b52010-05-04 06:15:30 +00006entry:
7 %userUPP_addr = alloca void (%struct.AppleEvent*)* ; <void (%struct.AppleEvent*)**> [#uses=1]
8 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
Duncan P. N. Exon Smithbe7ea192014-12-15 19:07:53 +00009 call void @llvm.dbg.declare(metadata void (%struct.AppleEvent*)** %userUPP_addr, metadata !0, metadata !{!"0x102"}), !dbg !13
Devang Patel075e9b52010-05-04 06:15:30 +000010 store void (%struct.AppleEvent*)* %userUPP, void (%struct.AppleEvent*)** %userUPP_addr
11 br label %return, !dbg !14
12
13return: ; preds = %entry
14 ret void, !dbg !14
15}
16
Adrian Prantl87b7eb92014-10-01 18:55:02 +000017declare void @llvm.dbg.declare(metadata, metadata, metadata) nounwind readnone
Devang Patel075e9b52010-05-04 06:15:30 +000018
Manman Rene9a52e12013-07-29 18:12:58 +000019!llvm.dbg.cu = !{!3}
Manman Ren409558f2013-11-22 21:49:45 +000020!llvm.module.flags = !{!19}
Duncan P. N. Exon Smithbe7ea192014-12-15 19:07:53 +000021!0 = !{!"0x101\00userUPP\007\000", !1, !2, !6} ; [ DW_TAG_arg_variable ]
22!1 = !{!"0x2e\00DisposeDMNotificationUPP\00DisposeDMNotificationUPP\00DisposeDMNotificationUPP\007\000\001\000\006\000\000\000", !16, null, !4, null, null, null, null, null} ; [ DW_TAG_subprogram ]
23!2 = !{!"0x29", !16} ; [ DW_TAG_file_type ]
24!3 = !{!"0x11\001\004.2.1 (Based on Apple Inc. build 5658) (LLVM build 9999)\001\00\000\00\000", !16, !17, !17, !18, null, null} ; [ DW_TAG_compile_unit ]
25!4 = !{!"0x15\00\000\000\000\000\000\000", !16, !2, null, !5, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
26!5 = !{null, !6}
27!6 = !{!"0x16\00DMNotificationUPP\006\000\000\000\000", !16, !2, !7} ; [ DW_TAG_typedef ]
28!7 = !{!"0xf\00\000\0064\0064\000\000", !16, !2, !8} ; [ DW_TAG_pointer_type ]
29!8 = !{!"0x15\00\000\000\000\000\000\000", !16, !2, null, !9, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
30!9 = !{null, !10}
31!10 = !{!"0xf\00\000\0064\0064\000\000", !16, !2, !11} ; [ DW_TAG_pointer_type ]
32!11 = !{!"0x16\00AppleEvent\004\000\000\000\000", !16, !2, !12} ; [ DW_TAG_typedef ]
33!12 = !{!"0x13\00AEDesc\001\000\000\000\004\000", !16, !2, null, null, null, null, null} ; [ DW_TAG_structure_type ] [AEDesc] [line 1, size 0, align 0, offset 0] [decl] [from ]
34!13 = !{i32 7, i32 0, !1, null}
35!14 = !{i32 8, i32 0, !15, null}
36!15 = !{!"0xb\007\000\000", !16, !1} ; [ DW_TAG_lexical_block ]
37!16 = !{!"t.c", !"/Users/echeng/LLVM/radars/r7937664/"}
38!17 = !{i32 0}
39!18 = !{!1}
40!19 = !{i32 1, !"Debug Info Version", i32 2}