2013-07-25 08:34:29 +08:00
; RUN: llc -o /dev/null < %s
2010-05-04 14:15:30 +08:00
; Radar 7937664
%struct.AppleEvent = type opaque
2013-08-23 05:28:54 +08:00
define void @DisposeDMNotificationUPP ( void ( %struct.AppleEvent * ) * %userUPP ) "no-frame-pointer-elim-non-leaf" nounwind ssp {
2010-05-04 14:15:30 +08:00
entry:
%userUPP_addr = alloca void ( %struct.AppleEvent * ) * ; <void (%struct.AppleEvent*)**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
call void @llvm.dbg.declare ( metadata ! { void ( %struct.AppleEvent * ) * * %userUPP_addr } , metadata !0 ) , !dbg !13
store void ( %struct.AppleEvent * ) * %userUPP , void ( %struct.AppleEvent * ) * * %userUPP_addr
br label %return , !dbg !14
return: ; preds = %entry
ret void , !dbg !14
}
declare void @llvm.dbg.declare ( metadata , metadata ) nounwind readnone
2013-07-30 02:12:58 +08:00
!llvm.dbg.cu = ! { !3 }
2013-11-23 05:49:45 +08:00
!llvm.module.flags = ! { !19 }
2013-08-07 03:38:43 +08:00
!0 = metadata ! { i32 524545 , metadata !1 , metadata !"userUPP" , metadata !2 , i32 7 , metadata !6 , i32 0 , null } ; [ DW_TAG_arg_variable ]
2013-07-25 06:23:00 +08:00
!1 = metadata ! { i32 524334 , metadata !16 , null , metadata !"DisposeDMNotificationUPP" , metadata !"DisposeDMNotificationUPP" , metadata !"DisposeDMNotificationUPP" , i32 7 , metadata !4 , i1 false , i1 true , i32 0 , i32 0 , null , i1 false , i32 0 , null , null , null , null , i32 0 } ; [ DW_TAG_subprogram ]
!2 = metadata ! { i32 524329 , metadata !16 } ; [ DW_TAG_file_type ]
2013-08-07 03:38:43 +08:00
!3 = metadata ! { i32 524305 , metadata !16 , i32 1 , metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build 9999)" , i1 true , metadata !"" , i32 0 , metadata !17 , metadata !17 , metadata !18 , null , null , metadata !"" } ; [ DW_TAG_compile_unit ]
2013-08-27 06:39:55 +08:00
!4 = metadata ! { i32 524309 , metadata !16 , metadata !2 , metadata !"" , i32 0 , i64 0 , i64 0 , i64 0 , i32 0 , null , metadata !5 , i32 0 , null , null , null } ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
2010-05-04 14:15:30 +08:00
!5 = metadata ! { null , metadata !6 }
2013-07-25 06:23:00 +08:00
!6 = metadata ! { i32 524310 , metadata !16 , metadata !2 , metadata !"DMNotificationUPP" , i32 6 , i64 0 , i64 0 , i64 0 , i32 0 , metadata !7 } ; [ DW_TAG_typedef ]
!7 = metadata ! { i32 524303 , metadata !16 , metadata !2 , metadata !"" , i32 0 , i64 64 , i64 64 , i64 0 , i32 0 , metadata !8 } ; [ DW_TAG_pointer_type ]
2013-08-27 06:39:55 +08:00
!8 = metadata ! { i32 524309 , metadata !16 , metadata !2 , metadata !"" , i32 0 , i64 0 , i64 0 , i64 0 , i32 0 , null , metadata !9 , i32 0 , null , null , null } ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ]
2010-05-04 14:15:30 +08:00
!9 = metadata ! { null , metadata !10 }
2013-07-25 06:23:00 +08:00
!10 = metadata ! { i32 524303 , metadata !16 , metadata !2 , metadata !"" , i32 0 , i64 64 , i64 64 , i64 0 , i32 0 , metadata !11 } ; [ DW_TAG_pointer_type ]
!11 = metadata ! { i32 524310 , metadata !16 , metadata !2 , metadata !"AppleEvent" , i32 4 , i64 0 , i64 0 , i64 0 , i32 0 , metadata !12 } ; [ DW_TAG_typedef ]
2013-08-27 06:39:55 +08:00
!12 = metadata ! { i32 524307 , metadata !16 , metadata !2 , metadata !"AEDesc" , i32 1 , i64 0 , i64 0 , i64 0 , i32 4 , null , null , i32 0 , null , null , null } ; [ DW_TAG_structure_type ] [AEDesc] [line 1, size 0, align 0, offset 0] [decl] [from ]
2010-05-04 14:15:30 +08:00
!13 = metadata ! { i32 7 , i32 0 , metadata !1 , null }
!14 = metadata ! { i32 8 , i32 0 , metadata !15 , null }
2013-08-07 03:38:43 +08:00
!15 = metadata ! { i32 524299 , metadata !16 , metadata !1 , i32 7 , i32 0 , i32 0 } ; [ DW_TAG_lexical_block ]
2013-07-25 06:23:00 +08:00
!16 = metadata ! { metadata !"t.c" , metadata !"/Users/echeng/LLVM/radars/r7937664/" }
2013-07-30 02:12:58 +08:00
!17 = metadata ! { i32 0 }
2013-08-07 03:38:43 +08:00
!18 = metadata ! { metadata !1 }
2013-11-23 05:49:45 +08:00
!19 = metadata ! { i32 1 , metadata !"Debug Info Version" , i32 1 }