2013-05-17 01:44:12 +02:00
; RUN: llc -mtriple=x86_64-apple-macosx10.8.0 -O0 -filetype=obj -o %t %s
; RUN: llvm-dwarfdump -debug-dump=info %t | FileCheck %s
; Test that we generate debug info for by-value struct args that are not used.
;
; CHECK: DW_TAG_formal_parameter
; CHECK: DW_TAG_formal_parameter
; CHECK: DW_TAG_formal_parameter
; CHECK: DW_TAG_formal_parameter
2014-06-13 23:52:33 +02:00
; CHECK-NOT: DW_TAG
; CHECK: DW_AT_name {{.*}} "info"
2013-05-17 01:44:12 +02:00
;
; generated from
;
; typedef unsigned long NSUInteger;
; typedef struct
; {
; NSUInteger width;
; NSUInteger height;
; double pixelAspect;
; } ImageInfo;
; @implementation Bitmap
; - (id)initWithCopy:(Bitmap *)otherBitmap
; andInfo:(ImageInfo)info
; andLength:(NSUInteger)length
; {
; }
; @end
; ModuleID = 't.mm'
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-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.8.0"
%0 = type opaque
%struct._objc_cache = type opaque
%struct._class_t = type { %struct._class_t * , %struct._class_t * , %struct._objc_cache * , i8 * ( i8 * , i8 * ) * * , %struct._class_ro_t * }
%struct._class_ro_t = type { i32 , i32 , i32 , i8 * , i8 * , %struct.__method_list_t * , %struct._objc_protocol_list * , %struct._ivar_list_t * , i8 * , %struct._prop_list_t * }
%struct.__method_list_t = type { i32 , i32 , [ 0 x %struct._objc_method ] }
%struct._objc_method = type { i8 * , i8 * , i8 * }
%struct._objc_protocol_list = type { i64 , [ 0 x %struct._protocol_t * ] }
%struct._protocol_t = type { i8 * , i8 * , %struct._objc_protocol_list * , %struct.__method_list_t * , %struct.__method_list_t * , %struct.__method_list_t * , %struct.__method_list_t * , %struct._prop_list_t * , i32 , i32 , i8 * * }
%struct._prop_list_t = type { i32 , i32 , [ 0 x %struct._prop_t ] }
%struct._prop_t = type { i8 * , i8 * }
%struct._ivar_list_t = type { i32 , i32 , [ 0 x %struct._ivar_t ] }
%struct._ivar_t = type { i64 * , i8 * , i8 * , i32 , i32 }
%struct.ImageInfo = type { i64 , i64 , double }
@_objc_empty_cache = external global %struct._objc_cache
@_objc_empty_vtable = external global i8 * ( i8 * , i8 * ) *
@"OBJC_CLASS_$_Bitmap" = global %struct._class_t { %struct._class_t * @"OBJC_METACLASS_$_Bitmap" , %struct._class_t * null , %struct._objc_cache * @_objc_empty_cache , i8 * ( i8 * , i8 * ) * * @_objc_empty_vtable , %struct._class_ro_t * @"\01l_OBJC_CLASS_RO_$_Bitmap" } , section "__DATA, __objc_data" , align 8
@"OBJC_METACLASS_$_Bitmap" = global %struct._class_t { %struct._class_t * @"OBJC_METACLASS_$_Bitmap" , %struct._class_t * @"OBJC_CLASS_$_Bitmap" , %struct._objc_cache * @_objc_empty_cache , i8 * ( i8 * , i8 * ) * * @_objc_empty_vtable , %struct._class_ro_t * @"\01l_OBJC_METACLASS_RO_$_Bitmap" } , section "__DATA, __objc_data" , align 8
@"\01L_OBJC_CLASS_NAME_" = internal global [ 7 x i8 ] c "Bitmap\00" , section "__TEXT,__objc_classname,cstring_literals" , align 1
2015-03-13 19:20:45 +01:00
@"\01l_OBJC_METACLASS_RO_$_Bitmap" = internal global %struct._class_ro_t { i32 3 , i32 40 , i32 40 , i8 * null , i8 * getelementptr inbounds ( [ 7 x i8 ] , [ 7 x i8 ] * @"\01L_OBJC_CLASS_NAME_" , i32 0 , i32 0 ) , %struct.__method_list_t * null , %struct._objc_protocol_list * null , %struct._ivar_list_t * null , i8 * null , %struct._prop_list_t * null } , section "__DATA, __objc_const" , align 8
2013-05-17 01:44:12 +02:00
@"\01L_OBJC_METH_VAR_NAME_" = internal global [ 32 x i8 ] c "initWithCopy:andInfo:andLength:\00" , section "__TEXT,__objc_methname,cstring_literals" , align 1
@"\01L_OBJC_METH_VAR_TYPE_" = internal global [ 23 x i8 ] c "@56@0:8@16{?=QQd}24Q48\00" , section "__TEXT,__objc_methtype,cstring_literals" , align 1
2015-03-13 19:20:45 +01:00
@"\01l_OBJC_$_INSTANCE_METHODS_Bitmap" = internal global { i32 , i32 , [ 1 x %struct._objc_method ] } { i32 24 , i32 1 , [ 1 x %struct._objc_method ] [ %struct._objc_method { i8 * getelementptr inbounds ( [ 32 x i8 ] , [ 32 x i8 ] * @"\01L_OBJC_METH_VAR_NAME_" , i32 0 , i32 0 ) , i8 * getelementptr inbounds ( [ 23 x i8 ] , [ 23 x i8 ] * @"\01L_OBJC_METH_VAR_TYPE_" , i32 0 , i32 0 ) , i8 * bitcast ( i8 * ( %0 * , i8 * , %0 * , %struct.ImageInfo * , i64 ) * @"\01-[Bitmap initWithCopy:andInfo:andLength:]" to i8 * ) } ] } , section "__DATA, __objc_const" , align 8
@"\01l_OBJC_CLASS_RO_$_Bitmap" = internal global %struct._class_ro_t { i32 2 , i32 0 , i32 0 , i8 * null , i8 * getelementptr inbounds ( [ 7 x i8 ] , [ 7 x i8 ] * @"\01L_OBJC_CLASS_NAME_" , i32 0 , i32 0 ) , %struct.__method_list_t * bitcast ( { i32 , i32 , [ 1 x %struct._objc_method ] } * @"\01l_OBJC_$_INSTANCE_METHODS_Bitmap" to %struct.__method_list_t * ) , %struct._objc_protocol_list * null , %struct._ivar_list_t * null , i8 * null , %struct._prop_list_t * null } , section "__DATA, __objc_const" , align 8
2013-05-17 01:44:12 +02:00
@"\01L_OBJC_LABEL_CLASS_$" = internal global [ 1 x i8 * ] [ i8 * bitcast ( %struct._class_t * @"OBJC_CLASS_$_Bitmap" to i8 * ) ] , section "__DATA, __objc_classlist, regular, no_dead_strip" , align 8
2015-03-13 19:20:45 +01:00
@llvm.used = appending global [ 5 x i8 * ] [ i8 * getelementptr inbounds ( [ 7 x i8 ] , [ 7 x i8 ] * @"\01L_OBJC_CLASS_NAME_" , i32 0 , i32 0 ) , i8 * getelementptr inbounds ( [ 32 x i8 ] , [ 32 x i8 ] * @"\01L_OBJC_METH_VAR_NAME_" , i32 0 , i32 0 ) , i8 * getelementptr inbounds ( [ 23 x i8 ] , [ 23 x i8 ] * @"\01L_OBJC_METH_VAR_TYPE_" , i32 0 , i32 0 ) , i8 * bitcast ( { i32 , i32 , [ 1 x %struct._objc_method ] } * @"\01l_OBJC_$_INSTANCE_METHODS_Bitmap" to i8 * ) , i8 * bitcast ( [ 1 x i8 * ] * @"\01L_OBJC_LABEL_CLASS_$" to i8 * ) ] , section "llvm.metadata"
2013-05-17 01:44:12 +02:00
; Function Attrs: ssp uwtable
2015-11-05 23:03:56 +01:00
define internal i8 * @"\01-[Bitmap initWithCopy:andInfo:andLength:]" ( %0 * %self , i8 * %_cmd , %0 * %otherBitmap , %struct.ImageInfo * byval align 8 %info , i64 %length ) #0 !dbg !7 {
2013-05-17 01:44:12 +02:00
entry:
%retval = alloca i8 * , align 8
%self.addr = alloca %0 * , align 8
%_cmd.addr = alloca i8 * , align 8
%otherBitmap.addr = alloca %0 * , align 8
%length.addr = alloca i64 , align 8
store %0 * %self , %0 * * %self.addr , align 8
2015-04-29 18:38:44 +02:00
call void @llvm.dbg.declare ( metadata %0 * * %self.addr , metadata !28 , metadata !DIExpression ( ) ) , !dbg !29
2013-05-17 01:44:12 +02:00
store i8 * %_cmd , i8 * * %_cmd.addr , align 8
2015-04-29 18:38:44 +02:00
call void @llvm.dbg.declare ( metadata i8 * * %_cmd.addr , metadata !30 , metadata !DIExpression ( ) ) , !dbg !29
2013-05-17 01:44:12 +02:00
store %0 * %otherBitmap , %0 * * %otherBitmap.addr , align 8
2015-04-29 18:38:44 +02:00
call void @llvm.dbg.declare ( metadata %0 * * %otherBitmap.addr , metadata !32 , metadata !DIExpression ( ) ) , !dbg !29
call void @llvm.dbg.declare ( metadata %struct.ImageInfo * %info , metadata !33 , metadata !DIExpression ( ) ) , !dbg !34
2013-05-17 01:44:12 +02:00
store i64 %length , i64 * %length.addr , align 8
2015-04-29 18:38:44 +02:00
call void @llvm.dbg.declare ( metadata i64 * %length.addr , metadata !35 , metadata !DIExpression ( ) ) , !dbg !36
2015-02-27 22:17:42 +01:00
%0 = load i8 * , i8 * * %retval , !dbg !37
2013-05-17 01:44:12 +02:00
ret i8 * %0 , !dbg !37
}
; Function Attrs: nounwind readnone
Move the complex address expression out of DIVariable and into an extra
argument of the llvm.dbg.declare/llvm.dbg.value intrinsics.
Previously, DIVariable was a variable-length field that has an optional
reference to a Metadata array consisting of a variable number of
complex address expressions. In the case of OpPiece expressions this is
wasting a lot of storage in IR, because when an aggregate type is, e.g.,
SROA'd into all of its n individual members, the IR will contain n copies
of the DIVariable, all alike, only differing in the complex address
reference at the end.
By making the complex address into an extra argument of the
dbg.value/dbg.declare intrinsics, all of the pieces can reference the
same variable and the complex address expressions can be uniqued across
the CU, too.
Down the road, this will allow us to move other flags, such as
"indirection" out of the DIVariable, too.
The new intrinsics look like this:
declare void @llvm.dbg.declare(metadata %storage, metadata %var, metadata %expr)
declare void @llvm.dbg.value(metadata %storage, i64 %offset, metadata %var, metadata %expr)
This patch adds a new LLVM-local tag to DIExpressions, so we can detect
and pretty-print DIExpression metadata nodes.
What this patch doesn't do:
This patch does not touch the "Indirect" field in DIVariable; but moving
that into the expression would be a natural next step.
http://reviews.llvm.org/D4919
rdar://problem/17994491
Thanks to dblaikie and dexonsmith for reviewing this patch!
Note: I accidentally committed a bogus older version of this patch previously.
llvm-svn: 218787
2014-10-01 20:55:02 +02:00
declare void @llvm.dbg.declare ( metadata , metadata , metadata ) #1
2013-05-17 01:44:12 +02:00
attributes #0 = { ssp uwtable }
attributes #1 = { nounwind readnone }
!llvm.dbg.cu = ! { !0 }
2013-11-22 22:49:45 +01:00
!llvm.module.flags = ! { !24 , !25 , !26 , !27 , !38 }
2013-05-17 01:44:12 +02:00
2016-04-01 01:56:58 +02:00
!0 = distinct !DICompileUnit ( language: D W _ L A N G _ O b j C _ p l u s _ p l u s , producer: "clang version 3.4 " , isOptimized: false , runtimeVersion: 2 , emissionKind: 1 , file: !1 , enums: !2 , retainedTypes: !3 , subprograms: !6 , globals: !2 , imports: !2 )
2015-04-29 18:38:44 +02:00
!1 = !DIFile ( filename: "t.mm" , directory: "" )
IR: Make metadata typeless in assembly
Now that `Metadata` is typeless, reflect that in the assembly. These
are the matching assembly changes for the metadata/value split in
r223802.
- Only use the `metadata` type when referencing metadata from a call
intrinsic -- i.e., only when it's used as a `Value`.
- Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode`
when referencing it from call intrinsics.
So, assembly like this:
define @foo(i32 %v) {
call void @llvm.foo(metadata !{i32 %v}, metadata !0)
call void @llvm.foo(metadata !{i32 7}, metadata !0)
call void @llvm.foo(metadata !1, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{metadata !3}, metadata !0)
ret void, !bar !2
}
!0 = metadata !{metadata !2}
!1 = metadata !{i32* @global}
!2 = metadata !{metadata !3}
!3 = metadata !{}
turns into this:
define @foo(i32 %v) {
call void @llvm.foo(metadata i32 %v, metadata !0)
call void @llvm.foo(metadata i32 7, metadata !0)
call void @llvm.foo(metadata i32* @global, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{!3}, metadata !0)
ret void, !bar !2
}
!0 = !{!2}
!1 = !{i32* @global}
!2 = !{!3}
!3 = !{}
I wrote an upgrade script that handled almost all of the tests in llvm
and many of the tests in cfe (even handling many `CHECK` lines). I've
attached it (or will attach it in a moment if you're speedy) to PR21532
to help everyone update their out-of-tree testcases.
This is part of PR21532.
llvm-svn: 224257
2014-12-15 20:07:53 +01:00
!2 = ! { }
!3 = ! { !4 }
2015-04-29 18:38:44 +02:00
!4 = !DICompositeType ( tag: D W _ T A G _ s t r u c t u r e _ type , name: "Bitmap" , line: 8 , size: 8 , align: 8 , flags: D I F l a g O b j c C l a s s C o m p l e t e , runtimeLang: D W _ L A N G _ O b j C _ p l u s _ p l u s , file: !1 , scope: !5 , elements: !2 )
!5 = !DIFile ( filename: "t.mm" , directory: "" )
IR: Make metadata typeless in assembly
Now that `Metadata` is typeless, reflect that in the assembly. These
are the matching assembly changes for the metadata/value split in
r223802.
- Only use the `metadata` type when referencing metadata from a call
intrinsic -- i.e., only when it's used as a `Value`.
- Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode`
when referencing it from call intrinsics.
So, assembly like this:
define @foo(i32 %v) {
call void @llvm.foo(metadata !{i32 %v}, metadata !0)
call void @llvm.foo(metadata !{i32 7}, metadata !0)
call void @llvm.foo(metadata !1, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{metadata !3}, metadata !0)
ret void, !bar !2
}
!0 = metadata !{metadata !2}
!1 = metadata !{i32* @global}
!2 = metadata !{metadata !3}
!3 = metadata !{}
turns into this:
define @foo(i32 %v) {
call void @llvm.foo(metadata i32 %v, metadata !0)
call void @llvm.foo(metadata i32 7, metadata !0)
call void @llvm.foo(metadata i32* @global, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{!3}, metadata !0)
ret void, !bar !2
}
!0 = !{!2}
!1 = !{i32* @global}
!2 = !{!3}
!3 = !{}
I wrote an upgrade script that handled almost all of the tests in llvm
and many of the tests in cfe (even handling many `CHECK` lines). I've
attached it (or will attach it in a moment if you're speedy) to PR21532
to help everyone update their out-of-tree testcases.
This is part of PR21532.
llvm-svn: 224257
2014-12-15 20:07:53 +01:00
!6 = ! { !7 }
2015-11-05 23:03:56 +01:00
!7 = distinct !DISubprogram ( name: "-[Bitmap initWithCopy:andInfo:andLength:]" , line: 9 , isLocal: true , isDefinition: true , virtualIndex: 6 , flags: D I F l a g P r o t o t y p e d , isOptimized: false , scopeLine: 9 , file: !1 , scope: !5 , type: !8 , variables: !2 )
2015-04-29 18:38:44 +02:00
!8 = !DISubroutineType ( types: !9 )
IR: Make metadata typeless in assembly
Now that `Metadata` is typeless, reflect that in the assembly. These
are the matching assembly changes for the metadata/value split in
r223802.
- Only use the `metadata` type when referencing metadata from a call
intrinsic -- i.e., only when it's used as a `Value`.
- Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode`
when referencing it from call intrinsics.
So, assembly like this:
define @foo(i32 %v) {
call void @llvm.foo(metadata !{i32 %v}, metadata !0)
call void @llvm.foo(metadata !{i32 7}, metadata !0)
call void @llvm.foo(metadata !1, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{metadata !3}, metadata !0)
ret void, !bar !2
}
!0 = metadata !{metadata !2}
!1 = metadata !{i32* @global}
!2 = metadata !{metadata !3}
!3 = metadata !{}
turns into this:
define @foo(i32 %v) {
call void @llvm.foo(metadata i32 %v, metadata !0)
call void @llvm.foo(metadata i32 7, metadata !0)
call void @llvm.foo(metadata i32* @global, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{!3}, metadata !0)
ret void, !bar !2
}
!0 = !{!2}
!1 = !{i32* @global}
!2 = !{!3}
!3 = !{}
I wrote an upgrade script that handled almost all of the tests in llvm
and many of the tests in cfe (even handling many `CHECK` lines). I've
attached it (or will attach it in a moment if you're speedy) to PR21532
to help everyone update their out-of-tree testcases.
This is part of PR21532.
llvm-svn: 224257
2014-12-15 20:07:53 +01:00
!9 = ! { !4 , !10 , !11 , !14 , !15 , !19 }
2015-04-29 18:38:44 +02:00
!10 = !DIDerivedType ( tag: D W _ T A G _ p o i n t e r _ type , size: 64 , align: 64 , flags: D I F l a g A r t i f i c i a l | D I F l a g O b j e c t P o i n t e r , baseType: !4 )
!11 = !DIDerivedType ( tag: D W _ T A G _ t y p e d e f , name: "SEL" , line: 9 , flags: D I F l a g A r t i f i c i a l , file: !1 , baseType: !12 )
!12 = !DIDerivedType ( tag: D W _ T A G _ p o i n t e r _ type , size: 64 , align: 64 , baseType: !13 )
!13 = !DICompositeType ( tag: D W _ T A G _ s t r u c t u r e _ type , name: "objc_selector" , flags: D I F l a g F w d D e c l , file: !1 )
!14 = !DIDerivedType ( tag: D W _ T A G _ p o i n t e r _ type , size: 64 , align: 64 , baseType: !4 )
!15 = !DIDerivedType ( tag: D W _ T A G _ t y p e d e f , name: "ImageInfo" , line: 7 , file: !1 , baseType: !16 )
!16 = !DICompositeType ( tag: D W _ T A G _ s t r u c t u r e _ type , line: 2 , size: 192 , align: 64 , file: !1 , elements: !17 )
IR: Make metadata typeless in assembly
Now that `Metadata` is typeless, reflect that in the assembly. These
are the matching assembly changes for the metadata/value split in
r223802.
- Only use the `metadata` type when referencing metadata from a call
intrinsic -- i.e., only when it's used as a `Value`.
- Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode`
when referencing it from call intrinsics.
So, assembly like this:
define @foo(i32 %v) {
call void @llvm.foo(metadata !{i32 %v}, metadata !0)
call void @llvm.foo(metadata !{i32 7}, metadata !0)
call void @llvm.foo(metadata !1, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{metadata !3}, metadata !0)
ret void, !bar !2
}
!0 = metadata !{metadata !2}
!1 = metadata !{i32* @global}
!2 = metadata !{metadata !3}
!3 = metadata !{}
turns into this:
define @foo(i32 %v) {
call void @llvm.foo(metadata i32 %v, metadata !0)
call void @llvm.foo(metadata i32 7, metadata !0)
call void @llvm.foo(metadata i32* @global, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{!3}, metadata !0)
ret void, !bar !2
}
!0 = !{!2}
!1 = !{i32* @global}
!2 = !{!3}
!3 = !{}
I wrote an upgrade script that handled almost all of the tests in llvm
and many of the tests in cfe (even handling many `CHECK` lines). I've
attached it (or will attach it in a moment if you're speedy) to PR21532
to help everyone update their out-of-tree testcases.
This is part of PR21532.
llvm-svn: 224257
2014-12-15 20:07:53 +01:00
!17 = ! { !18 , !21 , !22 }
2015-04-29 18:38:44 +02:00
!18 = !DIDerivedType ( tag: D W _ T A G _ m e m b e r , name: "width" , line: 4 , size: 64 , align: 64 , file: !1 , scope: !16 , baseType: !19 )
!19 = !DIDerivedType ( tag: D W _ T A G _ t y p e d e f , name: "NSUInteger" , line: 1 , file: !1 , baseType: !20 )
!20 = !DIBasicType ( tag: D W _ T A G _ b a s e _ type , name: "long unsigned int" , size: 64 , align: 64 , encoding: D W _ A T E _ u n s i g n e d )
!21 = !DIDerivedType ( tag: D W _ T A G _ m e m b e r , name: "height" , line: 5 , size: 64 , align: 64 , offset: 64 , file: !1 , scope: !16 , baseType: !19 )
!22 = !DIDerivedType ( tag: D W _ T A G _ m e m b e r , name: "pixelAspect" , line: 6 , size: 64 , align: 64 , offset: 128 , file: !1 , scope: !16 , baseType: !23 )
!23 = !DIBasicType ( tag: D W _ T A G _ b a s e _ type , name: "double" , size: 64 , align: 64 , encoding: D W _ A T E _ float )
IR: Make metadata typeless in assembly
Now that `Metadata` is typeless, reflect that in the assembly. These
are the matching assembly changes for the metadata/value split in
r223802.
- Only use the `metadata` type when referencing metadata from a call
intrinsic -- i.e., only when it's used as a `Value`.
- Stop pretending that `ValueAsMetadata` is wrapped in an `MDNode`
when referencing it from call intrinsics.
So, assembly like this:
define @foo(i32 %v) {
call void @llvm.foo(metadata !{i32 %v}, metadata !0)
call void @llvm.foo(metadata !{i32 7}, metadata !0)
call void @llvm.foo(metadata !1, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{metadata !3}, metadata !0)
ret void, !bar !2
}
!0 = metadata !{metadata !2}
!1 = metadata !{i32* @global}
!2 = metadata !{metadata !3}
!3 = metadata !{}
turns into this:
define @foo(i32 %v) {
call void @llvm.foo(metadata i32 %v, metadata !0)
call void @llvm.foo(metadata i32 7, metadata !0)
call void @llvm.foo(metadata i32* @global, metadata !0)
call void @llvm.foo(metadata !3, metadata !0)
call void @llvm.foo(metadata !{!3}, metadata !0)
ret void, !bar !2
}
!0 = !{!2}
!1 = !{i32* @global}
!2 = !{!3}
!3 = !{}
I wrote an upgrade script that handled almost all of the tests in llvm
and many of the tests in cfe (even handling many `CHECK` lines). I've
attached it (or will attach it in a moment if you're speedy) to PR21532
to help everyone update their out-of-tree testcases.
This is part of PR21532.
llvm-svn: 224257
2014-12-15 20:07:53 +01:00
!24 = ! { i32 1 , !"Objective-C Version" , i32 2 }
!25 = ! { i32 1 , !"Objective-C Image Info Version" , i32 0 }
!26 = ! { i32 1 , !"Objective-C Image Info Section" , !"__DATA, __objc_imageinfo, regular, no_dead_strip" }
!27 = ! { i32 4 , !"Objective-C Garbage Collection" , i32 0 }
2015-07-31 20:58:39 +02:00
!28 = !DILocalVariable ( name: "self" , line: 9 , arg: 1 , flags: D I F l a g A r t i f i c i a l | D I F l a g O b j e c t P o i n t e r , scope: !7 , file: !5 , type: !14 )
2015-04-29 18:38:44 +02:00
!29 = !DILocation ( line: 9 , scope: !7 )
2015-07-31 20:58:39 +02:00
!30 = !DILocalVariable ( name: "_cmd" , line: 9 , arg: 2 , flags: D I F l a g A r t i f i c i a l , scope: !7 , file: !5 , type: !31 )
2015-04-29 18:38:44 +02:00
!31 = !DIDerivedType ( tag: D W _ T A G _ t y p e d e f , name: "SEL" , line: 9 , file: !1 , baseType: !12 )
2015-07-31 20:58:39 +02:00
!32 = !DILocalVariable ( name: "otherBitmap" , line: 9 , arg: 3 , scope: !7 , file: !5 , type: !14 )
!33 = !DILocalVariable ( name: "info" , line: 10 , arg: 4 , scope: !7 , file: !5 , type: !15 )
2015-04-29 18:38:44 +02:00
!34 = !DILocation ( line: 10 , scope: !7 )
2015-07-31 20:58:39 +02:00
!35 = !DILocalVariable ( name: "length" , line: 11 , arg: 5 , scope: !7 , file: !5 , type: !19 )
2015-04-29 18:38:44 +02:00
!36 = !DILocation ( line: 11 , scope: !7 )
!37 = !DILocation ( line: 13 , scope: !7 )
2015-03-03 18:24:31 +01:00
!38 = ! { i32 1 , !"Debug Info Version" , i32 3 }