1 # RUN: llc -O0 -start-before=livedebugvalues -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
3 # Derived from (clang -O0 -g -fsanitize=address -fobjc-arc)
6 # @interface NSObject<NSObject>{}
7 # + (instancetype)alloc;
13 # typedef struct CGSize CGSize;
14 # @interface Object : NSObject
15 # - (instancetype)initWithSize:(CGSize)size;
18 # @implementation MyObject
19 # + (id)doWithSize:(CGSize)imageSize andObject:(id)object {
20 # return [object aMessage];
24 # CHECK: .debug_info contents:
25 # CHECK: DW_TAG_subprogram
26 # CHECK-NEXT: DW_AT_low_pc [DW_FORM_addr] (0x0000000000000000)
27 # CHECK-NEXT: DW_AT_high_pc [DW_FORM_addr] ([[FN_END:.*]])
29 # CHECK: DW_TAG_formal_parameter
30 # CHECK-NEXT: DW_AT_location
31 # CHECK-NEXT: [0x{{.*}}, 0x{{.*}}):
33 # CHECK: [0x{{.*}}, [[FN_END]]):
34 # CHECK-NEXT: DW_AT_name {{.*}}"imageSize"
36 ; ModuleID = 'test/DebugInfo/AArch64/asan-stack-vars.ll'
37 source_filename = "m.m"
38 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
39 target triple = "arm64-apple-ios"
42 %struct._class_t = type { %struct._class_t*, %struct._class_t*, %struct._objc_cache*, i8* (i8*, i8*)**, %struct._class_ro_t* }
43 %struct._objc_cache = type opaque
44 %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* }
45 %struct.__method_list_t = type { i32, i32, [0 x %struct._objc_method] }
46 %struct._objc_method = type { i8*, i8*, i8* }
47 %struct._objc_protocol_list = type { i64, [0 x %struct._protocol_t*] }
48 %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**, i8*, %struct._prop_list_t* }
49 %struct._ivar_list_t = type { i32, i32, [0 x %struct._ivar_t] }
50 %struct._ivar_t = type { i32*, i8*, i8*, i32, i32 }
51 %struct._prop_list_t = type { i32, i32, [0 x %struct._prop_t] }
52 %struct._prop_t = type { i8*, i8* }
53 %struct.CGSize = type { double, double }
55 @"OBJC_CLASS_$_Object" = external global %struct._class_t
56 @"OBJC_CLASSLIST_REFERENCES_$_" = private global %struct._class_t* @"OBJC_CLASS_$_Object", section "__DATA, __objc_classrefs, regular, no_dead_strip", align 8
57 @OBJC_METH_VAR_NAME_ = private unnamed_addr constant [6 x i8] c"alloc\00", section "__TEXT,__objc_methname,cstring_literals", align 1
58 @OBJC_SELECTOR_REFERENCES_ = private externally_initialized global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @OBJC_METH_VAR_NAME_, i32 0, i32 0), section "__DATA, __objc_selrefs, literal_pointers, no_dead_strip", align 8
59 @OBJC_METH_VAR_NAME_.1 = private unnamed_addr constant [14 x i8] c"initWithSize:\00", section "__TEXT,__objc_methname,cstring_literals", align 1
60 @OBJC_SELECTOR_REFERENCES_.2 = private externally_initialized global i8* getelementptr inbounds ([14 x i8], [14 x i8]* @OBJC_METH_VAR_NAME_.1, i32 0, i32 0), section "__DATA, __objc_selrefs, literal_pointers, no_dead_strip", align 8
61 @OBJC_METH_VAR_NAME_.3 = private unnamed_addr constant [9 x i8] c"aMessage\00", section "__TEXT,__objc_methname,cstring_literals", align 1
62 @OBJC_SELECTOR_REFERENCES_.4 = private externally_initialized global i8* getelementptr inbounds ([9 x i8], [9 x i8]* @OBJC_METH_VAR_NAME_.3, i32 0, i32 0), section "__DATA, __objc_selrefs, literal_pointers, no_dead_strip", align 8
63 @_objc_empty_cache = external global %struct._objc_cache
64 @"OBJC_CLASS_$_MyObject" = global %struct._class_t { %struct._class_t* @"OBJC_METACLASS_$_MyObject", %struct._class_t* null, %struct._objc_cache* @_objc_empty_cache, i8* (i8*, i8*)** null, %struct._class_ro_t* @"\01l_OBJC_CLASS_RO_$_MyObject" }, section "__DATA, __objc_data", align 8
65 @"OBJC_METACLASS_$_MyObject" = global %struct._class_t { %struct._class_t* @"OBJC_METACLASS_$_MyObject", %struct._class_t* @"OBJC_CLASS_$_MyObject", %struct._objc_cache* @_objc_empty_cache, i8* (i8*, i8*)** null, %struct._class_ro_t* @"\01l_OBJC_METACLASS_RO_$_MyObject" }, section "__DATA, __objc_data", align 8
66 @OBJC_CLASS_NAME_ = private unnamed_addr constant [9 x i8] c"MyObject\00", section "__TEXT,__objc_classname,cstring_literals", align 1
67 @OBJC_METH_VAR_NAME_.5 = private unnamed_addr constant [12 x i8] c"doWithSize:\00", section "__TEXT,__objc_methname,cstring_literals", align 1
68 @OBJC_METH_VAR_TYPE_ = private unnamed_addr constant [21 x i8] c"@32@0:8{CGSize=dd}16\00", section "__TEXT,__objc_methtype,cstring_literals", align 1
69 @"\01l_OBJC_$_CLASS_METHODS_MyObject" = private global { i32, i32, [1 x %struct._objc_method] } { i32 24, i32 1, [1 x %struct._objc_method] [%struct._objc_method { i8* getelementptr inbounds ([12 x i8], [12 x i8]* @OBJC_METH_VAR_NAME_.5, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @OBJC_METH_VAR_TYPE_, i32 0, i32 0), i8* bitcast (i8* (i8*, i8*, [2 x double])* @"\01+[MyObject doWithSize:]" to i8*) }] }, section "__DATA, __objc_const", align 8
70 @"\01l_OBJC_METACLASS_RO_$_MyObject" = private global %struct._class_ro_t { i32 131, i32 40, i32 40, i8* null, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @OBJC_CLASS_NAME_, i32 0, i32 0), %struct.__method_list_t* bitcast ({ i32, i32, [1 x %struct._objc_method] }* @"\01l_OBJC_$_CLASS_METHODS_MyObject" 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
71 @"\01l_OBJC_CLASS_RO_$_MyObject" = private global %struct._class_ro_t { i32 130, i32 0, i32 0, i8* null, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @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
72 @"OBJC_LABEL_CLASS_$" = private global [1 x i8*] [i8* bitcast (%struct._class_t* @"OBJC_CLASS_$_MyObject" to i8*)], section "__DATA, __objc_classlist, regular, no_dead_strip", align 8
73 @llvm.compiler.used = appending global [12 x i8*] [i8* bitcast (%struct._class_t** @"OBJC_CLASSLIST_REFERENCES_$_" to i8*), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @OBJC_METH_VAR_NAME_, i32 0, i32 0), i8* bitcast (i8** @OBJC_SELECTOR_REFERENCES_ to i8*), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @OBJC_METH_VAR_NAME_.1, i32 0, i32 0), i8* bitcast (i8** @OBJC_SELECTOR_REFERENCES_.2 to i8*), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @OBJC_METH_VAR_NAME_.3, i32 0, i32 0), i8* bitcast (i8** @OBJC_SELECTOR_REFERENCES_.4 to i8*), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @OBJC_CLASS_NAME_, i32 0, i32 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @OBJC_METH_VAR_NAME_.5, i32 0, i32 0), i8* getelementptr inbounds ([21 x i8], [21 x i8]* @OBJC_METH_VAR_TYPE_, i32 0, i32 0), i8* bitcast ({ i32, i32, [1 x %struct._objc_method] }* @"\01l_OBJC_$_CLASS_METHODS_MyObject" to i8*), i8* bitcast ([1 x i8*]* @"OBJC_LABEL_CLASS_$" to i8*)], section "llvm.metadata"
74 @llvm.global_ctors = appending global [1 x { i32, void ()*, i8* }] [{ i32, void ()*, i8* } { i32 1, void ()* @asan.module_ctor, i8* null }]
75 @__asan_shadow_memory_dynamic_address = external global i64
76 @___asan_gen_ = private unnamed_addr constant [34 x i8] c"2 32 16 9 imageSize 64 8 6 object\00", align 1
77 @__stack_chk_guard = external global i8*
79 ; Function Attrs: noinline sanitize_address ssp uwtable
80 define internal i8* @"\01+[MyObject doWithSize:]"(i8* %self, i8* %_cmd, [2 x double] %imageSize.coerce) #0 !dbg !14 {
82 %StackGuardSlot = alloca i8*
83 %0 = call i8* @llvm.stackguard()
84 call void @llvm.stackprotector(i8* %0, i8** %StackGuardSlot)
85 %1 = load i64, i64* @__asan_shadow_memory_dynamic_address
86 %self.addr = alloca i8*, align 8
87 %_cmd.addr = alloca i8*, align 8
88 %MyAlloca = alloca [96 x i8], align 32, !dbg !35
89 %2 = ptrtoint [96 x i8]* %MyAlloca to i64, !dbg !35
90 %3 = add i64 %2, 32, !dbg !35
91 %4 = inttoptr i64 %3 to %struct.CGSize*, !dbg !35
92 %5 = add i64 %2, 64, !dbg !35
93 %6 = inttoptr i64 %5 to %0**, !dbg !35
94 %7 = inttoptr i64 %2 to i64*, !dbg !35
95 store i64 1102416563, i64* %7, !dbg !35
96 %8 = add i64 %2, 8, !dbg !35
97 %9 = inttoptr i64 %8 to i64*, !dbg !35
98 store i64 ptrtoint ([34 x i8]* @___asan_gen_ to i64), i64* %9, !dbg !35
99 %10 = add i64 %2, 16, !dbg !35
100 %11 = inttoptr i64 %10 to i64*, !dbg !35
101 store i64 ptrtoint (i8* (i8*, i8*, [2 x double])* @"\01+[MyObject doWithSize:]" to i64), i64* %11, !dbg !35
102 %12 = lshr i64 %2, 3, !dbg !35
103 %13 = add i64 %12, %1, !dbg !35
104 %14 = add i64 %13, 0, !dbg !35
105 %15 = inttoptr i64 %14 to i64*, !dbg !35
106 store i64 -940689368107847183, i64* %15, align 1, !dbg !35
107 %16 = add i64 %13, 9, !dbg !35
108 %17 = inttoptr i64 %16 to i16*, !dbg !35
109 store i16 -3085, i16* %17, align 1, !dbg !35
110 %18 = add i64 %13, 11, !dbg !35
111 %19 = inttoptr i64 %18 to i8*, !dbg !35
112 store i8 -13, i8* %19, align 1, !dbg !35
113 call void @llvm.dbg.declare(metadata %struct.CGSize* %4, metadata !36, metadata !DIExpression(DW_OP_deref)), !dbg !37
114 call void @llvm.dbg.declare(metadata %0** %6, metadata !38, metadata !DIExpression(DW_OP_deref)), !dbg !44
115 %20 = bitcast %struct.CGSize* %4 to [2 x double]*
116 %21 = ptrtoint [2 x double]* %20 to i64
117 %22 = lshr i64 %21, 3
118 %23 = add i64 %22, %1
119 %24 = inttoptr i64 %23 to i16*
120 %25 = load i16, i16* %24
121 %26 = icmp ne i16 %25, 0
122 br i1 %26, label %27, label %28
124 ; <label>:27: ; preds = %entry
125 call void @__asan_report_store16(i64 %21)
126 call void asm sideeffect "", ""()
129 ; <label>:28: ; preds = %entry
130 store [2 x double] %imageSize.coerce, [2 x double]* %20, align 8
131 store i8* %self, i8** %self.addr, align 8
132 call void @llvm.dbg.declare(metadata i8** %self.addr, metadata !45, metadata !DIExpression()), !dbg !47
133 store i8* %_cmd, i8** %_cmd.addr, align 8
134 call void @llvm.dbg.declare(metadata i8** %_cmd.addr, metadata !48, metadata !DIExpression()), !dbg !47
135 %29 = load %struct._class_t*, %struct._class_t** @"OBJC_CLASSLIST_REFERENCES_$_", align 8, !dbg !50
136 %30 = add i64 lshr (i64 ptrtoint (i8** @OBJC_SELECTOR_REFERENCES_ to i64), i64 3), %1, !dbg !50
137 %31 = inttoptr i64 %30 to i8*, !dbg !50
138 %32 = load i8, i8* %31, !dbg !50
139 %33 = icmp ne i8 %32, 0, !dbg !50
140 br i1 %33, label %34, label %35, !dbg !50
142 ; <label>:34: ; preds = %28
143 call void @__asan_report_load8(i64 ptrtoint (i8** @OBJC_SELECTOR_REFERENCES_ to i64)), !dbg !50
144 call void asm sideeffect "", ""(), !dbg !50
145 unreachable, !dbg !50
147 ; <label>:35: ; preds = %28
148 %36 = load i8*, i8** @OBJC_SELECTOR_REFERENCES_, align 8, !dbg !50, !invariant.load !2
149 %37 = bitcast %struct._class_t* %29 to i8*, !dbg !50
150 %call = call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*)*)(i8* %37, i8* %36), !dbg !50
151 %38 = bitcast i8* %call to %0*, !dbg !50
152 %39 = add i64 lshr (i64 ptrtoint (i8** @OBJC_SELECTOR_REFERENCES_.2 to i64), i64 3), %1, !dbg !51
153 %40 = inttoptr i64 %39 to i8*, !dbg !51
154 %41 = load i8, i8* %40, !dbg !51
155 %42 = icmp ne i8 %41, 0, !dbg !51
156 br i1 %42, label %43, label %44, !dbg !51
158 ; <label>:43: ; preds = %35
159 call void @__asan_report_load8(i64 ptrtoint (i8** @OBJC_SELECTOR_REFERENCES_.2 to i64)), !dbg !51
160 call void asm sideeffect "", ""(), !dbg !51
161 unreachable, !dbg !51
163 ; <label>:44: ; preds = %35
164 %45 = load i8*, i8** @OBJC_SELECTOR_REFERENCES_.2, align 8, !dbg !51, !invariant.load !2
165 %46 = bitcast %0* %38 to i8*, !dbg !51
166 %47 = bitcast %struct.CGSize* %4 to [2 x double]*, !dbg !51
167 %48 = ptrtoint [2 x double]* %47 to i64, !dbg !51
168 %49 = lshr i64 %48, 3, !dbg !51
169 %50 = add i64 %49, %1, !dbg !51
170 %51 = inttoptr i64 %50 to i16*, !dbg !51
171 %52 = load i16, i16* %51, !dbg !51
172 %53 = icmp ne i16 %52, 0, !dbg !51
173 br i1 %53, label %54, label %55, !dbg !51
175 ; <label>:54: ; preds = %44
176 call void @__asan_report_load16(i64 %48), !dbg !51
177 call void asm sideeffect "", ""(), !dbg !51
178 unreachable, !dbg !51
180 ; <label>:55: ; preds = %44
181 %56 = load [2 x double], [2 x double]* %47, align 8, !dbg !51
182 %call1 = call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*, [2 x double])*)(i8* %46, i8* %45, [2 x double] %56), !dbg !51
183 %57 = bitcast i8* %call1 to %0*, !dbg !51
184 %58 = ptrtoint %0** %6 to i64, !dbg !44
185 %59 = lshr i64 %58, 3, !dbg !44
186 %60 = add i64 %59, %1, !dbg !44
187 %61 = inttoptr i64 %60 to i8*, !dbg !44
188 %62 = load i8, i8* %61, !dbg !44
189 %63 = icmp ne i8 %62, 0, !dbg !44
190 br i1 %63, label %64, label %65, !dbg !44
192 ; <label>:64: ; preds = %55
193 call void @__asan_report_store8(i64 %58), !dbg !44
194 call void asm sideeffect "", ""(), !dbg !44
195 unreachable, !dbg !44
197 ; <label>:65: ; preds = %55
198 store %0* %57, %0** %6, align 8, !dbg !44
199 %66 = load %0*, %0** %6, align 8, !dbg !52
200 %67 = add i64 lshr (i64 ptrtoint (i8** @OBJC_SELECTOR_REFERENCES_.4 to i64), i64 3), %1, !dbg !53
201 %68 = inttoptr i64 %67 to i8*, !dbg !53
202 %69 = load i8, i8* %68, !dbg !53
203 %70 = icmp ne i8 %69, 0, !dbg !53
204 br i1 %70, label %71, label %72, !dbg !53
206 ; <label>:71: ; preds = %65
207 call void @__asan_report_load8(i64 ptrtoint (i8** @OBJC_SELECTOR_REFERENCES_.4 to i64)), !dbg !53
208 call void asm sideeffect "", ""(), !dbg !53
209 unreachable, !dbg !53
211 ; <label>:72: ; preds = %65
212 %73 = load i8*, i8** @OBJC_SELECTOR_REFERENCES_.4, align 8, !dbg !53, !invariant.load !2
213 %74 = bitcast %0* %66 to i8*, !dbg !53
214 %call2 = call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*)*)(i8* %74, i8* %73), !dbg !53
215 call void asm sideeffect "mov\09fp, fp\09\09; marker for objc_retainAutoreleaseReturnValue", ""(), !dbg !53
216 %75 = call i8* @objc_retainAutoreleasedReturnValue(i8* %call2) #3, !dbg !53
217 %76 = bitcast %0** %6 to i8**, !dbg !54
218 call void @objc_storeStrong(i8** %76, i8* null) #3, !dbg !54
219 %77 = tail call i8* @objc_autoreleaseReturnValue(i8* %75) #3, !dbg !54
220 store i64 1172321806, i64* %7, !dbg !54
221 %78 = add i64 %13, 0, !dbg !54
222 %79 = inttoptr i64 %78 to i64*, !dbg !54
223 store i64 0, i64* %79, align 1, !dbg !54
224 %80 = add i64 %13, 9, !dbg !54
225 %81 = inttoptr i64 %80 to i16*, !dbg !54
226 store i16 0, i16* %81, align 1, !dbg !54
227 %82 = add i64 %13, 11, !dbg !54
228 %83 = inttoptr i64 %82 to i8*, !dbg !54
229 store i8 0, i8* %83, align 1, !dbg !54
230 %84 = call i8* @llvm.stackguard()
231 %85 = load volatile i8*, i8** %StackGuardSlot
232 %86 = icmp eq i8* %84, %85
233 br i1 %86, label %SP_return, label %CallStackCheckFailBlk, !prof !55
235 SP_return: ; preds = %72
236 ret i8* %77, !dbg !54
238 CallStackCheckFailBlk: ; preds = %72
239 call void @__stack_chk_fail(), !dbg !47
240 unreachable, !dbg !47
243 ; Function Attrs: nounwind readnone speculatable
244 declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
246 ; Function Attrs: nonlazybind
247 declare i8* @objc_msgSend(i8*, i8*, ...) #2
249 declare i8* @objc_retainAutoreleasedReturnValue(i8* returned)
251 declare void @objc_storeStrong(i8**, i8*)
253 declare i8* @objc_autoreleaseReturnValue(i8* returned)
255 define internal void @asan.module_ctor() {
256 call void @__asan_init()
257 call void @__asan_version_mismatch_check_v8()
261 declare void @__asan_init()
263 declare void @__asan_version_mismatch_check_v8()
265 declare void @__asan_report_load8(i64)
267 declare void @__asan_report_load16(i64)
269 declare void @__asan_report_store8(i64)
271 declare void @__asan_report_store16(i64)
273 ; Function Attrs: nounwind
274 declare void @llvm.stackprotector(i8*, i8**) #3
276 ; Function Attrs: nounwind
277 declare i8* @llvm.stackguard() #3
279 declare void @__stack_chk_fail()
281 attributes #0 = { noinline sanitize_address ssp uwtable }
282 attributes #1 = { nounwind readnone speculatable }
283 attributes #2 = { nonlazybind }
284 attributes #3 = { nounwind }
287 !llvm.module.flags = !{!5, !6, !7, !8, !9, !10, !11, !12}
290 !0 = distinct !DICompileUnit(language: DW_LANG_ObjC, file: !1, producer: "clang version 5.0.0 (trunk 295779) (llvm/trunk 295777)", isOptimized: false, runtimeVersion: 2, emissionKind: FullDebug, enums: !2, retainedTypes: !3)
291 !1 = !DIFile(filename: "m.m", directory: "/")
294 !4 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyObject", scope: !1, file: !1, line: 15, flags: DIFlagObjcClassComplete, elements: !2, runtimeLang: DW_LANG_ObjC)
295 !5 = !{i32 1, !"Objective-C Version", i32 2}
296 !6 = !{i32 1, !"Objective-C Image Info Version", i32 0}
297 !7 = !{i32 1, !"Objective-C Image Info Section", !"__DATA,__objc_imageinfo,regular,no_dead_strip"}
298 !8 = !{i32 4, !"Objective-C Garbage Collection", i32 0}
299 !9 = !{i32 1, !"Objective-C Class Properties", i32 64}
300 !10 = !{i32 2, !"Dwarf Version", i32 2}
301 !11 = !{i32 2, !"Debug Info Version", i32 3}
302 !12 = !{i32 7, !"PIC Level", i32 2}
303 !13 = !{!"clang version 5.0.0 (trunk 295779) (llvm/trunk 295777)"}
304 !14 = distinct !DISubprogram(name: "+[MyObject doWithSize:]", scope: !1, file: !1, line: 16, type: !15, isLocal: true, isDefinition: true, scopeLine: 16, flags: DIFlagPrototyped, isOptimized: false, unit: !0, retainedNodes: !2)
305 !15 = !DISubroutineType(types: !16)
306 !16 = !{!17, !24, !26, !29}
307 !17 = !DIDerivedType(tag: DW_TAG_typedef, name: "id", file: !1, baseType: !18)
308 !18 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !19, size: 64)
309 !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "objc_object", file: !1, elements: !20)
311 !21 = !DIDerivedType(tag: DW_TAG_member, name: "isa", scope: !19, file: !1, baseType: !22, size: 64)
312 !22 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !23, size: 64)
313 !23 = !DICompositeType(tag: DW_TAG_structure_type, name: "objc_class", file: !1, flags: DIFlagFwdDecl)
314 !24 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !25, flags: DIFlagArtificial | DIFlagObjectPointer)
315 !25 = !DIDerivedType(tag: DW_TAG_typedef, name: "Class", file: !1, baseType: !22)
316 !26 = !DIDerivedType(tag: DW_TAG_typedef, name: "SEL", file: !1, baseType: !27, flags: DIFlagArtificial)
317 !27 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !28, size: 64)
318 !28 = !DICompositeType(tag: DW_TAG_structure_type, name: "objc_selector", file: !1, flags: DIFlagFwdDecl)
319 !29 = !DIDerivedType(tag: DW_TAG_typedef, name: "CGSize", file: !1, line: 10, baseType: !30)
320 !30 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "CGSize", file: !1, line: 6, size: 128, elements: !31)
322 !32 = !DIDerivedType(tag: DW_TAG_member, name: "width", scope: !30, file: !1, line: 7, baseType: !33, size: 64)
323 !33 = !DIBasicType(name: "double", size: 64, encoding: DW_ATE_float)
324 !34 = !DIDerivedType(tag: DW_TAG_member, name: "height", scope: !30, file: !1, line: 8, baseType: !33, size: 64, offset: 64)
325 !35 = !DILocation(line: 16, scope: !14)
326 !36 = !DILocalVariable(name: "imageSize", arg: 3, scope: !14, file: !1, line: 16, type: !29)
327 !37 = !DILocation(line: 16, column: 26, scope: !14)
328 !38 = !DILocalVariable(name: "object", scope: !14, file: !1, line: 17, type: !39)
329 !39 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !40, size: 64)
330 !40 = !DICompositeType(tag: DW_TAG_structure_type, name: "Object", scope: !1, file: !1, line: 11, elements: !41, runtimeLang: DW_LANG_ObjC)
332 !42 = !DIDerivedType(tag: DW_TAG_inheritance, scope: !40, baseType: !43)
333 !43 = !DICompositeType(tag: DW_TAG_structure_type, name: "NSObject", scope: !1, file: !1, line: 3, elements: !2, runtimeLang: DW_LANG_ObjC)
334 !44 = !DILocation(line: 17, column: 11, scope: !14)
335 !45 = !DILocalVariable(name: "self", arg: 1, scope: !14, type: !46, flags: DIFlagArtificial | DIFlagObjectPointer)
336 !46 = !DIDerivedType(tag: DW_TAG_const_type, baseType: !25)
337 !47 = !DILocation(line: 0, scope: !14)
338 !48 = !DILocalVariable(name: "_cmd", arg: 2, scope: !14, type: !49, flags: DIFlagArtificial)
339 !49 = !DIDerivedType(tag: DW_TAG_typedef, name: "SEL", file: !1, baseType: !27)
340 !50 = !DILocation(line: 17, column: 21, scope: !14)
341 !51 = !DILocation(line: 17, column: 20, scope: !14)
342 !52 = !DILocation(line: 18, column: 11, scope: !14)
343 !53 = !DILocation(line: 18, column: 10, scope: !14)
344 !54 = !DILocation(line: 19, column: 1, scope: !14)
345 !55 = !{!"branch_weights", i32 2147481600, i32 2048}
349 name: "\x01+[MyObject doWithSize:]"
351 tracksRegLiveness: true
362 stackProtector: '%stack.0.StackGuardSlot'
366 - { id: 0, name: StackGuardSlot, offset: -40, size: 8, alignment: 8,
367 stack-id: default, local-offset: -8 }
368 - { id: 1, name: self.addr, offset: -168, size: 8, alignment: 8, stack-id: default,
369 local-offset: -136, debug-info-variable: '!45', debug-info-expression: '!DIExpression()',
370 debug-info-location: '!47' }
371 - { id: 2, name: _cmd.addr, offset: -176, size: 8, alignment: 8, stack-id: default,
372 local-offset: -144, debug-info-variable: '!48', debug-info-expression: '!DIExpression()',
373 debug-info-location: '!47' }
374 - { id: 3, name: MyAlloca, offset: -160, size: 96, alignment: 32, stack-id: default,
376 - { id: 4, type: spill-slot, offset: -184, size: 8, alignment: 8, stack-id: default }
377 - { id: 5, type: spill-slot, offset: -192, size: 8, alignment: 8, stack-id: default }
378 - { id: 6, type: spill-slot, offset: -200, size: 8, alignment: 8, stack-id: default }
379 - { id: 7, type: spill-slot, offset: -208, size: 8, alignment: 8, stack-id: default }
380 - { id: 8, type: spill-slot, offset: -216, size: 8, alignment: 8, stack-id: default }
381 - { id: 9, type: spill-slot, offset: -224, size: 8, alignment: 8, stack-id: default }
382 - { id: 10, type: spill-slot, offset: -232, size: 8, alignment: 8, stack-id: default }
383 - { id: 11, type: spill-slot, offset: -240, size: 8, alignment: 8, stack-id: default }
384 - { id: 12, type: spill-slot, offset: -248, size: 8, alignment: 8, stack-id: default }
385 - { id: 13, type: spill-slot, offset: -256, size: 8, alignment: 8, stack-id: default }
386 - { id: 14, type: spill-slot, offset: -264, size: 8, alignment: 8, stack-id: default }
387 - { id: 15, type: spill-slot, offset: -272, size: 8, alignment: 8, stack-id: default }
388 - { id: 16, type: spill-slot, offset: -280, size: 8, alignment: 8, stack-id: default }
389 - { id: 17, type: spill-slot, offset: -288, size: 8, alignment: 8, stack-id: default }
390 - { id: 18, type: spill-slot, offset: -296, size: 8, alignment: 8, stack-id: default }
391 - { id: 19, type: spill-slot, offset: -304, size: 8, alignment: 8, stack-id: default }
392 - { id: 20, type: spill-slot, offset: -312, size: 8, alignment: 8, stack-id: default }
393 - { id: 21, type: spill-slot, offset: -320, size: 8, alignment: 8, stack-id: default }
394 - { id: 22, type: spill-slot, offset: -328, size: 8, alignment: 8, stack-id: default }
395 - { id: 23, type: spill-slot, offset: -336, size: 8, alignment: 8, stack-id: default }
396 - { id: 24, type: spill-slot, offset: -8, size: 8, alignment: 8, stack-id: default,
397 callee-saved-register: '$lr' }
398 - { id: 25, type: spill-slot, offset: -16, size: 8, alignment: 8, stack-id: default,
399 callee-saved-register: '$fp' }
400 - { id: 26, type: spill-slot, offset: -24, size: 8, alignment: 8, stack-id: default,
401 callee-saved-register: '$x27' }
402 - { id: 27, type: spill-slot, offset: -32, size: 8, alignment: 8, stack-id: default,
403 callee-saved-register: '$x28' }
406 liveins: $x0, $x1, $d0, $d1, $x27, $x28, $lr
408 early-clobber $sp = frame-setup STPXpre killed $x28, killed $x27, $sp, -4 :: (store 8 into %stack.27), (store 8 into %stack.26)
409 frame-setup STPXi killed $fp, killed $lr, $sp, 2 :: (store 8 into %stack.25), (store 8 into %stack.24)
410 $fp = frame-setup ADDXri $sp, 16, 0
411 $x9 = frame-setup SUBXri $sp, 320, 0
412 $sp = ANDXri killed $x9, 7930
413 frame-setup CFI_INSTRUCTION def_cfa $w29, 16
414 frame-setup CFI_INSTRUCTION offset $w30, -8
415 frame-setup CFI_INSTRUCTION offset $w29, -16
416 frame-setup CFI_INSTRUCTION offset $w27, -24
417 frame-setup CFI_INSTRUCTION offset $w28, -32
418 renamable $x8 = ADRP target-flags(aarch64-page) @"\01+[MyObject doWithSize:]"
419 renamable $x8 = ADDXri killed renamable $x8, target-flags(aarch64-pageoff, aarch64-nc) @"\01+[MyObject doWithSize:]", 0
420 renamable $x9 = ADRP target-flags(aarch64-page) @___asan_gen_
421 renamable $x9 = ADDXri killed renamable $x9, target-flags(aarch64-pageoff, aarch64-nc) @___asan_gen_, 0
422 $x10 = ADDXri $sp, 192, 0
423 renamable $x11 = ADRP target-flags(aarch64-page, aarch64-got) @__asan_shadow_memory_dynamic_address
424 renamable $x11 = LDRXui killed renamable $x11, target-flags(aarch64-pageoff, aarch64-got, aarch64-nc) @__asan_shadow_memory_dynamic_address
425 $x12 = ADRP target-flags(aarch64-page, aarch64-got) @__stack_chk_guard
426 $x12 = LDRXui $x12, target-flags(aarch64-pageoff, aarch64-got, aarch64-nc) @__stack_chk_guard
427 $x12 = LDRXui killed $x12, 0 :: (dereferenceable invariant load 8 from @__stack_chk_guard)
428 $x13 = ADRP target-flags(aarch64-page, aarch64-got) @__stack_chk_guard
429 $x13 = LDRXui $x13, target-flags(aarch64-pageoff, aarch64-got, aarch64-nc) @__stack_chk_guard
430 $x13 = LDRXui killed $x13, 0 :: (dereferenceable invariant load 8 from @__stack_chk_guard)
431 STRXui killed renamable $x13, $sp, 39 :: (volatile store 8 into %stack.0.StackGuardSlot)
432 renamable $x11 = LDRXui killed renamable $x11, 0 :: (load 8 from @__asan_shadow_memory_dynamic_address)
433 renamable $x13 = ADDXri renamable $x10, 32, 0, debug-location !35
434 renamable $x14 = ADDXri renamable $x10, 64, 0, debug-location !35
435 $x15 = MOVZXi 35507, 0, debug-location !35
436 $x15 = MOVKXi $x15, 16821, 16, debug-location !35
437 STRXui killed renamable $x15, $sp, 24, debug-location !35 :: (store 96 into %stack.3.MyAlloca, align 32)
438 STRXui killed renamable $x9, $sp, 25, debug-location !35 :: (store 96 into %stack.3.MyAlloca + 1, align 32)
439 STRXui killed renamable $x8, $sp, 26, debug-location !35 :: (store 96 into %stack.3.MyAlloca + 2, align 32)
440 renamable $x8 = UBFMXri renamable $x10, 3, 63, debug-location !35
441 renamable $x9 = ADDXrs renamable $x11, renamable $x10, 67, debug-location !35
442 $x15 = MOVZXi 61937, 0, debug-location !35
443 $x15 = MOVKXi $x15, 61937, 16, debug-location !35
444 $x15 = MOVKXi $x15, 62194, 48, debug-location !35
445 STRXroX killed renamable $x15, renamable $x8, renamable $x11, 0, 0, debug-location !35 :: (store 8 into %ir.15, align 1)
446 renamable $x15 = ADDXrs renamable $x8, renamable $x11, 0, debug-location !35
447 $w16 = MOVZWi 62451, 0, debug-location !35
448 STURHHi killed renamable $w16, killed renamable $x15, 9, debug-location !35 :: (store 2 into %ir.17, align 1)
449 renamable $x8 = ADDXrs killed renamable $x8, renamable $x11, 0, debug-location !35
450 $w16 = MOVZWi 243, 0, debug-location !35
451 STRBBui killed renamable $w16, killed renamable $x8, 11, debug-location !35 :: (store 1 into %ir.19)
452 DBG_VALUE renamable $x13, 0, !36, !DIExpression(DW_OP_deref), debug-location !37
453 DBG_VALUE renamable $x14, 0, !38, !DIExpression(DW_OP_deref), debug-location !44
454 $x8 = ORRXrs $xzr, $x13, 0
455 renamable $x15 = UBFMXri renamable $x8, 3, 63
456 renamable $w16 = LDRHHroX killed renamable $x15, renamable $x11, 0, 0 :: (load 2 from %ir.24)
457 renamable $w16 = UBFMWri killed renamable $w16, 0, 15
458 STRXui killed $x1, $sp, 21 :: (store 8 into %stack.4)
459 STRDui killed $d1, $sp, 20 :: (store 8 into %stack.5)
460 STRDui killed $d0, $sp, 19 :: (store 8 into %stack.6)
461 STRXui killed $x0, $sp, 18 :: (store 8 into %stack.7)
462 STRXui killed $x13, $sp, 17 :: (store 8 into %stack.8)
463 DBG_VALUE $sp, 0, !36, !DIExpression(DW_OP_plus_uconst, 136, DW_OP_deref, DW_OP_deref), debug-location !37
464 STRXui killed $x14, $sp, 16 :: (store 8 into %stack.9)
465 DBG_VALUE $sp, 0, !38, !DIExpression(DW_OP_plus_uconst, 128, DW_OP_deref, DW_OP_deref), debug-location !44
466 STRXui killed $x10, $sp, 15 :: (store 8 into %stack.10)
467 STRXui killed $x12, $sp, 14 :: (store 8 into %stack.11)
468 STRXui killed $x11, $sp, 13 :: (store 8 into %stack.12)
469 STRXui killed $x9, $sp, 12 :: (store 8 into %stack.13)
470 STRXui killed $x8, $sp, 11 :: (store 8 into %stack.14)
471 CBZW killed renamable $w16, %bb.2
476 $x0 = LDRXui $sp, 11 :: (load 8 from %stack.14)
477 BL @__asan_report_store16, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $sp
482 renamable $x8 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_
483 renamable $x8 = ADDXri killed renamable $x8, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_, 0
484 renamable $x9 = ORRXri $xzr, 4097
485 renamable $x8 = LSRVXr killed renamable $x8, killed renamable $x9
486 renamable $x9 = ADRP target-flags(aarch64-page) @"OBJC_CLASSLIST_REFERENCES_$_"
487 renamable $x9 = ADDXri killed renamable $x9, target-flags(aarch64-pageoff, aarch64-nc) @"OBJC_CLASSLIST_REFERENCES_$_", 0
488 $d0 = LDRDui $sp, 19 :: (load 8 from %stack.6)
489 $x10 = LDRXui $sp, 11 :: (load 8 from %stack.14)
490 STRDui killed renamable $d0, renamable $x10, 0 :: (store 8 into %ir.20)
491 $d1 = LDRDui $sp, 20 :: (load 8 from %stack.5)
492 STRDui killed renamable $d1, killed renamable $x10, 1 :: (store 8 into %ir.20 + 8)
493 $x11 = LDRXui $sp, 18 :: (load 8 from %stack.7)
494 STRXui killed renamable $x11, $sp, 23 :: (store 8 into %stack.1.self.addr)
495 $x12 = LDRXui $sp, 21 :: (load 8 from %stack.4)
496 STRXui killed renamable $x12, $sp, 22 :: (store 8 into %stack.2._cmd.addr)
497 renamable $x9 = LDRXui killed renamable $x9, 0, debug-location !50 :: (load 8 from @"OBJC_CLASSLIST_REFERENCES_$_")
498 $x13 = LDRXui $sp, 13 :: (load 8 from %stack.12)
499 renamable $w14 = LDRBBroX killed renamable $x8, killed renamable $x13, 0, 0, debug-location !50 :: (load 1 from %ir.31)
500 renamable $w14 = UBFMWri killed renamable $w14, 0, 7, debug-location !50
501 STRXui killed $x9, $sp, 10 :: (store 8 into %stack.15)
502 CBZW killed renamable $w14, %bb.4, debug-location !50
507 $x0 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_, debug-location !50
508 renamable $x0 = ADDXri $x0, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_, 0, debug-location !50
509 BL @__asan_report_load8, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $sp, debug-location !50
510 INLINEASM &"", 1, debug-location !50
511 BRK 1, debug-location !50
514 renamable $x8 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_
515 renamable $x8 = ADDXri killed renamable $x8, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_, 0
516 renamable $x1 = LDRXui killed renamable $x8, 0, debug-location !50 :: (invariant load 8 from @OBJC_SELECTOR_REFERENCES_)
517 $x8 = LDRXui $sp, 10 :: (load 8 from %stack.15)
518 $x0 = ORRXrs $xzr, killed $x8, 0, debug-location !50
519 BL @objc_msgSend, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit killed $x1, implicit-def $x0, debug-location !50
520 renamable $x8 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_.2
521 renamable $x8 = ADDXri killed renamable $x8, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_.2, 0
522 renamable $x1 = ORRXri $xzr, 4097
523 renamable $x8 = LSRVXr killed renamable $x8, killed renamable $x1
524 $x1 = LDRXui $sp, 13 :: (load 8 from %stack.12)
525 renamable $w9 = LDRBBroX killed renamable $x8, killed renamable $x1, 0, 0, debug-location !51 :: (load 1 from %ir.40)
526 renamable $w9 = UBFMWri killed renamable $w9, 0, 7, debug-location !51
527 STRXui killed $x0, $sp, 9 :: (store 8 into %stack.16)
528 CBZW killed renamable $w9, %bb.6, debug-location !51
533 $x0 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_.2, debug-location !51
534 renamable $x0 = ADDXri $x0, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_.2, 0, debug-location !51
535 BL @__asan_report_load8, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $sp, debug-location !51
536 INLINEASM &"", 1, debug-location !51
537 BRK 1, debug-location !51
540 renamable $x8 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_.2
541 renamable $x8 = ADDXri killed renamable $x8, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_.2, 0
542 renamable $x1 = LDRXui killed renamable $x8, 0, debug-location !51 :: (invariant load 8 from @OBJC_SELECTOR_REFERENCES_.2)
543 $x8 = LDRXui $sp, 9 :: (load 8 from %stack.16)
544 $x9 = LDRXui $sp, 17 :: (load 8 from %stack.8)
545 renamable $x10 = UBFMXri renamable $x9, 3, 63, debug-location !51
546 $x11 = LDRXui $sp, 13 :: (load 8 from %stack.12)
547 renamable $w12 = LDRHHroX killed renamable $x10, killed renamable $x11, 0, 0, debug-location !51 :: (load 2 from %ir.51)
548 renamable $w12 = UBFMWri killed renamable $w12, 0, 15, debug-location !51
549 STRXui killed $x1, $sp, 8 :: (store 8 into %stack.17)
550 STRXui killed $x8, $sp, 7 :: (store 8 into %stack.18)
551 STRXui killed $x9, $sp, 6 :: (store 8 into %stack.19)
552 CBZW killed renamable $w12, %bb.8, debug-location !51
557 $x0 = LDRXui $sp, 6 :: (load 8 from %stack.19)
558 BL @__asan_report_load16, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $sp, debug-location !51
559 INLINEASM &"", 1, debug-location !51
560 BRK 1, debug-location !51
563 $x8 = LDRXui $sp, 6 :: (load 8 from %stack.19)
564 renamable $d1 = LDRDui renamable $x8, 1, debug-location !51 :: (load 8 from %ir.47 + 8)
565 renamable $d0 = LDRDui killed renamable $x8, 0, debug-location !51 :: (load 8 from %ir.47)
566 $x0 = LDRXui $sp, 7 :: (load 8 from %stack.18)
567 $x1 = LDRXui $sp, 8 :: (load 8 from %stack.17)
568 BL @objc_msgSend, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit killed $x1, implicit killed $d0, implicit killed $d1, implicit-def $sp, implicit-def $x0, debug-location !51
569 $x8 = LDRXui $sp, 16 :: (load 8 from %stack.9)
570 renamable $x1 = UBFMXri killed renamable $x8, 3, 63, debug-location !44
571 $lr = LDRXui $sp, 13 :: (load 8 from %stack.12)
572 renamable $w9 = LDRBBroX killed renamable $x1, killed renamable $lr, 0, 0, debug-location !44 :: (load 1 from %ir.61)
573 renamable $w9 = UBFMWri killed renamable $w9, 0, 7, debug-location !44
574 STRXui killed $x0, $sp, 5 :: (store 8 into %stack.20)
575 CBZW killed renamable $w9, %bb.10, debug-location !44
580 $x0 = LDRXui $sp, 16 :: (load 8 from %stack.9)
581 BL @__asan_report_store8, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $sp, debug-location !44
582 INLINEASM &"", 1, debug-location !44
583 BRK 1, debug-location !44
585 bb.10 (%ir-block.65):
586 renamable $x8 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_.4
587 renamable $x8 = ADDXri killed renamable $x8, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_.4, 0
588 renamable $x9 = ORRXri $xzr, 4097
589 renamable $x8 = LSRVXr killed renamable $x8, killed renamable $x9
590 $x9 = LDRXui $sp, 5 :: (load 8 from %stack.20)
591 $x10 = LDRXui $sp, 16 :: (load 8 from %stack.9)
592 STRXui killed renamable $x9, renamable $x10, 0, debug-location !44 :: (store 8 into %ir.6)
593 renamable $x11 = LDRXui killed renamable $x10, 0, debug-location !52 :: (load 8 from %ir.6)
594 $x12 = LDRXui $sp, 13 :: (load 8 from %stack.12)
595 renamable $w13 = LDRBBroX killed renamable $x8, killed renamable $x12, 0, 0, debug-location !53 :: (load 1 from %ir.68)
596 renamable $w13 = UBFMWri killed renamable $w13, 0, 7, debug-location !53
597 STRXui killed $x11, $sp, 4 :: (store 8 into %stack.21)
598 CBZW killed renamable $w13, %bb.12, debug-location !53
600 bb.11 (%ir-block.71):
603 $x0 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_.4, debug-location !53
604 renamable $x0 = ADDXri $x0, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_.4, 0, debug-location !53
605 BL @__asan_report_load8, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $sp, debug-location !53
606 INLINEASM &"", 1, debug-location !53
607 BRK 1, debug-location !53
609 bb.12 (%ir-block.72):
610 renamable $x8 = ADRP target-flags(aarch64-page) @OBJC_SELECTOR_REFERENCES_.4
611 renamable $x8 = ADDXri killed renamable $x8, target-flags(aarch64-pageoff, aarch64-nc) @OBJC_SELECTOR_REFERENCES_.4, 0
612 renamable $x1 = LDRXui killed renamable $x8, 0, debug-location !53 :: (invariant load 8 from @OBJC_SELECTOR_REFERENCES_.4)
613 $x8 = LDRXui $sp, 4 :: (load 8 from %stack.21)
614 $x0 = ORRXrs $xzr, killed $x8, 0, debug-location !53
615 BL @objc_msgSend, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit killed $x1, implicit-def $x0, debug-location !53
616 INLINEASM &"mov\09fp, fp\09\09; marker for objc_retainAutoreleaseReturnValue", 1, debug-location !53
617 BL @objc_retainAutoreleasedReturnValue, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $x0, debug-location !53
618 $x8 = LDRXui $sp, 16 :: (load 8 from %stack.9)
619 STRXui killed $x0, $sp, 3 :: (store 8 into %stack.22)
620 $x0 = ORRXrs $xzr, killed $x8, 0, debug-location !54
621 $x8 = ORRXrs $xzr, killed $xzr, 0, debug-location !54
622 $x1 = ORRXrs $xzr, killed $x8, 0, debug-location !54
623 BL @objc_storeStrong, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit killed $x1, debug-location !54
624 $x0 = LDRXui $sp, 3 :: (load 8 from %stack.22)
625 BL @objc_autoreleaseReturnValue, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $x0, implicit-def $x0, debug-location !54
626 $x8 = MOVZXi 13838, 0, debug-location !54
627 $x8 = MOVKXi $x8, 17888, 16, debug-location !54
628 $x1 = LDRXui $sp, 15 :: (load 8 from %stack.10)
629 STRXui killed renamable $x8, killed renamable $x1, 0, debug-location !54 :: (store 8 into %ir.7)
630 $x8 = LDRXui $sp, 12 :: (load 8 from %stack.13)
631 STRXui $xzr, renamable $x8, 0, debug-location !54 :: (store 8 into %ir.79, align 1)
632 STURHHi $wzr, renamable $x8, 9, debug-location !54 :: (store 2 into %ir.81, align 1)
633 STRBBui $wzr, killed renamable $x8, 11, debug-location !54 :: (store 1 into %ir.83)
634 $lr = ADRP target-flags(aarch64-page, aarch64-got) @__stack_chk_guard
635 $lr = LDRXui $lr, target-flags(aarch64-pageoff, aarch64-got, aarch64-nc) @__stack_chk_guard
636 $lr = LDRXui killed $lr, 0 :: (dereferenceable invariant load 8 from @__stack_chk_guard)
637 renamable $x9 = LDRXui $sp, 39 :: (load 8 from %stack.0.StackGuardSlot)
638 $xzr = SUBSXrs killed renamable $lr, killed renamable $x9, 0, implicit-def $nzcv, implicit-def $nzcv
639 STRXui killed $x0, $sp, 2 :: (store 8 into %stack.23)
640 Bcc 1, %bb.14, implicit $nzcv
643 $x0 = LDRXui $sp, 2 :: (load 8 from %stack.23)
644 $sp = frame-destroy SUBXri $fp, 16, 0, debug-location !54
645 $fp, $lr = frame-destroy LDPXi $sp, 2, debug-location !54 :: (load 8 from %stack.25), (load 8 from %stack.24)
646 early-clobber $sp, $x28, $x27 = frame-destroy LDPXpost $sp, 4, debug-location !54 :: (load 8 from %stack.27), (load 8 from %stack.26)
647 RET undef $lr, implicit killed $x0, debug-location !54
649 bb.14.CallStackCheckFailBlk:
650 BL @__stack_chk_fail, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit-def $sp, debug-location !47
651 BRK 1, debug-location !47
655 name: asan.module_ctor
657 tracksRegLiveness: true
665 - { id: 0, type: spill-slot, offset: -8, size: 8, alignment: 8, stack-id: default,
666 callee-saved-register: '$lr' }
667 - { id: 1, type: spill-slot, offset: -16, size: 8, alignment: 8, stack-id: default,
668 callee-saved-register: '$fp' }
673 early-clobber $sp = frame-setup STPXpre killed $fp, killed $lr, $sp, -2 :: (store 8 into %stack.1), (store 8 into %stack.0)
674 frame-setup CFI_INSTRUCTION def_cfa_offset 16
675 frame-setup CFI_INSTRUCTION offset $w30, -8
676 frame-setup CFI_INSTRUCTION offset $w29, -16
677 BL @__asan_init, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp
678 BL @__asan_version_mismatch_check_v8, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp
679 early-clobber $sp, $fp, $lr = frame-destroy LDPXpost $sp, 2 :: (load 8 from %stack.1), (load 8 from %stack.0)