1 ; RUN: llc -O0 -stop-after=irtranslator -global-isel -verify-machineinstrs %s -o - 2>&1 | FileCheck %s
3 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
4 target triple = "aarch64-unknown-fuchsia"
6 declare void @llvm.dbg.value(metadata, metadata, metadata) #0
7 ; Check that we don't crash when we have a metadata use of %i not being dominated by the def.
9 ; CHECK: DBG_VALUE %1:_(p0), $noreg, !370, !DIExpression(DW_OP_LLVM_fragment, 0, 64)
10 define hidden void @foo() unnamed_addr #1 !dbg !230 {
11 br i1 undef, label %bb4, label %bb5
14 %i = extractvalue { ptr, i64 } undef, 0
18 call void @llvm.dbg.value(metadata ptr %i, metadata !370, metadata !DIExpression(DW_OP_LLVM_fragment, 0, 64)), !dbg !372
22 attributes #0 = { nofree nosync nounwind readnone speculatable willreturn }
23 attributes #1 = { "target-cpu"="generic" }
26 !llvm.module.flags = !{!229}
28 !0 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !1, producer: "rustc", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, globals: !228)
29 !1 = !DIFile(filename: "library/std/src/lib.rs", directory: "/b/s/w/ir/x/w/rust")
30 !2 = !{!3, !11, !16, !25, !31, !36, !45, !68, !75, !83, !90, !97, !106, !115, !121, !131, !153, !159, !163, !168, !179, !184, !189, !192, !194, !210}
31 !3 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "c_void", scope: !5, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !8)
32 !4 = !DIFile(filename: "<unknown>", directory: "")
33 !5 = !DINamespace(name: "ffi", scope: !6)
34 !6 = !DINamespace(name: "core", scope: null)
35 !7 = !DIBasicType(name: "u8", size: 8, encoding: DW_ATE_unsigned)
37 !9 = !DIEnumerator(name: "__variant1", value: 0, isUnsigned: true)
38 !10 = !DIEnumerator(name: "__variant2", value: 1, isUnsigned: true)
39 !11 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Option", scope: !12, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !13)
40 !12 = !DINamespace(name: "option", scope: !6)
42 !14 = !DIEnumerator(name: "None", value: 0)
43 !15 = !DIEnumerator(name: "Some", value: 1)
44 !16 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "EscapeUnicodeState", scope: !17, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !18)
45 !17 = !DINamespace(name: "char", scope: !6)
46 !18 = !{!19, !20, !21, !22, !23, !24}
47 !19 = !DIEnumerator(name: "Done", value: 0)
48 !20 = !DIEnumerator(name: "RightBrace", value: 1)
49 !21 = !DIEnumerator(name: "Value", value: 2)
50 !22 = !DIEnumerator(name: "LeftBrace", value: 3)
51 !23 = !DIEnumerator(name: "Type", value: 4)
52 !24 = !DIEnumerator(name: "Backslash", value: 5)
53 !25 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Format", scope: !26, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !28)
54 !26 = !DINamespace(name: "common", scope: !27)
55 !27 = !DINamespace(name: "gimli", scope: null)
57 !29 = !DIEnumerator(name: "Dwarf64", value: 8)
58 !30 = !DIEnumerator(name: "Dwarf32", value: 4)
59 !31 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Result", scope: !32, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !33)
60 !32 = !DINamespace(name: "result", scope: !6)
62 !34 = !DIEnumerator(name: "Ok", value: 0)
63 !35 = !DIEnumerator(name: "Err", value: 1)
64 !36 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Alignment", scope: !37, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !40)
65 !37 = !DINamespace(name: "v1", scope: !38)
66 !38 = !DINamespace(name: "rt", scope: !39)
67 !39 = !DINamespace(name: "fmt", scope: !6)
68 !40 = !{!41, !42, !43, !44}
69 !41 = !DIEnumerator(name: "Left", value: 0)
70 !42 = !DIEnumerator(name: "Right", value: 1)
71 !43 = !DIEnumerator(name: "Center", value: 2)
72 !44 = !DIEnumerator(name: "Unknown", value: 3)
73 !45 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "ErrorKind", scope: !46, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !49)
74 !46 = !DINamespace(name: "error", scope: !47)
75 !47 = !DINamespace(name: "io", scope: !48)
76 !48 = !DINamespace(name: "std", scope: null)
77 !49 = !{!50, !51, !52, !53, !54, !55, !56, !57, !58, !59, !60, !61, !62, !63, !64, !65, !66, !67}
78 !50 = !DIEnumerator(name: "NotFound", value: 0)
79 !51 = !DIEnumerator(name: "PermissionDenied", value: 1)
80 !52 = !DIEnumerator(name: "ConnectionRefused", value: 2)
81 !53 = !DIEnumerator(name: "ConnectionReset", value: 3)
82 !54 = !DIEnumerator(name: "ConnectionAborted", value: 4)
83 !55 = !DIEnumerator(name: "NotConnected", value: 5)
84 !56 = !DIEnumerator(name: "AddrInUse", value: 6)
85 !57 = !DIEnumerator(name: "AddrNotAvailable", value: 7)
86 !58 = !DIEnumerator(name: "BrokenPipe", value: 8)
87 !59 = !DIEnumerator(name: "AlreadyExists", value: 9)
88 !60 = !DIEnumerator(name: "WouldBlock", value: 10)
89 !61 = !DIEnumerator(name: "InvalidInput", value: 11)
90 !62 = !DIEnumerator(name: "InvalidData", value: 12)
91 !63 = !DIEnumerator(name: "TimedOut", value: 13)
92 !64 = !DIEnumerator(name: "WriteZero", value: 14)
93 !65 = !DIEnumerator(name: "Interrupted", value: 15)
94 !66 = !DIEnumerator(name: "Other", value: 16)
95 !67 = !DIEnumerator(name: "UnexpectedEof", value: 17)
96 !68 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Ordering", scope: !69, file: !4, baseType: !70, size: 8, align: 8, flags: DIFlagEnumClass, elements: !71)
97 !69 = !DINamespace(name: "cmp", scope: !6)
98 !70 = !DIBasicType(name: "i8", size: 8, encoding: DW_ATE_signed)
99 !71 = !{!72, !73, !74}
100 !72 = !DIEnumerator(name: "Less", value: -1)
101 !73 = !DIEnumerator(name: "Equal", value: 0)
102 !74 = !DIEnumerator(name: "Greater", value: 1)
103 !75 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "DtorState", scope: !76, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !79)
104 !76 = !DINamespace(name: "fast", scope: !77)
105 !77 = !DINamespace(name: "local", scope: !78)
106 !78 = !DINamespace(name: "thread", scope: !48)
107 !79 = !{!80, !81, !82}
108 !80 = !DIEnumerator(name: "Unregistered", value: 0)
109 !81 = !DIEnumerator(name: "Registered", value: 1)
110 !82 = !DIEnumerator(name: "RunningOrHasRun", value: 2)
111 !83 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "State", scope: !84, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !85)
112 !84 = !DINamespace(name: "path", scope: !48)
113 !85 = !{!86, !87, !88, !89}
114 !86 = !DIEnumerator(name: "Prefix", value: 0)
115 !87 = !DIEnumerator(name: "StartDir", value: 1)
116 !88 = !DIEnumerator(name: "Body", value: 2)
117 !89 = !DIEnumerator(name: "Done", value: 3)
118 !90 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "PrintFmt", scope: !91, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !93)
119 !91 = !DINamespace(name: "print", scope: !92)
120 !92 = !DINamespace(name: "backtrace_rs", scope: !48)
121 !93 = !{!94, !95, !96}
122 !94 = !DIEnumerator(name: "Short", value: 0)
123 !95 = !DIEnumerator(name: "Full", value: 1)
124 !96 = !DIEnumerator(name: "__Nonexhaustive", value: 2)
125 !97 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "IntErrorKind", scope: !98, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !100)
126 !98 = !DINamespace(name: "error", scope: !99)
127 !99 = !DINamespace(name: "num", scope: !6)
128 !100 = !{!101, !102, !103, !104, !105}
129 !101 = !DIEnumerator(name: "Empty", value: 0)
130 !102 = !DIEnumerator(name: "InvalidDigit", value: 1)
131 !103 = !DIEnumerator(name: "Overflow", value: 2)
132 !104 = !DIEnumerator(name: "Underflow", value: 3)
133 !105 = !DIEnumerator(name: "Zero", value: 4)
134 !106 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Ordering", scope: !107, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !109)
135 !107 = !DINamespace(name: "atomic", scope: !108)
136 !108 = !DINamespace(name: "sync", scope: !6)
137 !109 = !{!110, !111, !112, !113, !114}
138 !110 = !DIEnumerator(name: "Relaxed", value: 0)
139 !111 = !DIEnumerator(name: "Release", value: 1)
140 !112 = !DIEnumerator(name: "Acquire", value: 2)
141 !113 = !DIEnumerator(name: "AcqRel", value: 3)
142 !114 = !DIEnumerator(name: "SeqCst", value: 4)
143 !115 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "AllocInit", scope: !116, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !118)
144 !116 = !DINamespace(name: "raw_vec", scope: !117)
145 !117 = !DINamespace(name: "alloc", scope: null)
147 !119 = !DIEnumerator(name: "Uninitialized", value: 0)
148 !120 = !DIEnumerator(name: "Zeroed", value: 1)
149 !121 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "TINFLStatus", scope: !122, file: !4, baseType: !70, size: 8, align: 8, flags: DIFlagEnumClass, elements: !124)
150 !122 = !DINamespace(name: "inflate", scope: !123)
151 !123 = !DINamespace(name: "miniz_oxide", scope: null)
152 !124 = !{!125, !126, !127, !128, !19, !129, !130}
153 !125 = !DIEnumerator(name: "FailedCannotMakeProgress", value: 252)
154 !126 = !DIEnumerator(name: "BadParam", value: 253)
155 !127 = !DIEnumerator(name: "Adler32Mismatch", value: 254)
156 !128 = !DIEnumerator(name: "Failed", value: 255)
157 !129 = !DIEnumerator(name: "NeedsMoreInput", value: 1)
158 !130 = !DIEnumerator(name: "HasMoreOutput", value: 2)
159 !131 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "SectionId", scope: !26, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !132)
160 !132 = !{!133, !134, !135, !136, !137, !138, !139, !140, !141, !142, !143, !144, !145, !146, !147, !148, !149, !150, !151, !152}
161 !133 = !DIEnumerator(name: "DebugAbbrev", value: 0)
162 !134 = !DIEnumerator(name: "DebugAddr", value: 1)
163 !135 = !DIEnumerator(name: "DebugAranges", value: 2)
164 !136 = !DIEnumerator(name: "DebugFrame", value: 3)
165 !137 = !DIEnumerator(name: "EhFrame", value: 4)
166 !138 = !DIEnumerator(name: "EhFrameHdr", value: 5)
167 !139 = !DIEnumerator(name: "DebugInfo", value: 6)
168 !140 = !DIEnumerator(name: "DebugLine", value: 7)
169 !141 = !DIEnumerator(name: "DebugLineStr", value: 8)
170 !142 = !DIEnumerator(name: "DebugLoc", value: 9)
171 !143 = !DIEnumerator(name: "DebugLocLists", value: 10)
172 !144 = !DIEnumerator(name: "DebugMacinfo", value: 11)
173 !145 = !DIEnumerator(name: "DebugMacro", value: 12)
174 !146 = !DIEnumerator(name: "DebugPubNames", value: 13)
175 !147 = !DIEnumerator(name: "DebugPubTypes", value: 14)
176 !148 = !DIEnumerator(name: "DebugRanges", value: 15)
177 !149 = !DIEnumerator(name: "DebugRngLists", value: 16)
178 !150 = !DIEnumerator(name: "DebugStr", value: 17)
179 !151 = !DIEnumerator(name: "DebugStrOffsets", value: 18)
180 !152 = !DIEnumerator(name: "DebugTypes", value: 19)
181 !153 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "BacktraceStatus", scope: !154, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !155)
182 !154 = !DINamespace(name: "backtrace", scope: !48)
183 !155 = !{!156, !157, !158}
184 !156 = !DIEnumerator(name: "Unsupported", value: 0)
185 !157 = !DIEnumerator(name: "Disabled", value: 1)
186 !158 = !DIEnumerator(name: "Captured", value: 2)
187 !159 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "FloatErrorKind", scope: !160, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !161)
188 !160 = !DINamespace(name: "dec2flt", scope: !99)
190 !162 = !DIEnumerator(name: "Invalid", value: 1)
191 !163 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "CharErrorKind", scope: !164, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !165)
192 !164 = !DINamespace(name: "convert", scope: !17)
194 !166 = !DIEnumerator(name: "EmptyString", value: 0)
195 !167 = !DIEnumerator(name: "TooManyChars", value: 1)
196 !168 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Ipv6MulticastScope", scope: !169, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !171)
197 !169 = !DINamespace(name: "ip", scope: !170)
198 !170 = !DINamespace(name: "net", scope: !48)
199 !171 = !{!172, !173, !174, !175, !176, !177, !178}
200 !172 = !DIEnumerator(name: "InterfaceLocal", value: 0)
201 !173 = !DIEnumerator(name: "LinkLocal", value: 1)
202 !174 = !DIEnumerator(name: "RealmLocal", value: 2)
203 !175 = !DIEnumerator(name: "AdminLocal", value: 3)
204 !176 = !DIEnumerator(name: "SiteLocal", value: 4)
205 !177 = !DIEnumerator(name: "OrganizationLocal", value: 5)
206 !178 = !DIEnumerator(name: "Global", value: 6)
207 !179 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Shutdown", scope: !170, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !180)
208 !180 = !{!181, !182, !183}
209 !181 = !DIEnumerator(name: "Read", value: 0)
210 !182 = !DIEnumerator(name: "Write", value: 1)
211 !183 = !DIEnumerator(name: "Both", value: 2)
212 !184 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "TryRecvError", scope: !185, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !187)
213 !185 = !DINamespace(name: "mpsc", scope: !186)
214 !186 = !DINamespace(name: "sync", scope: !48)
216 !188 = !DIEnumerator(name: "Disconnected", value: 1)
217 !189 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "RecvTimeoutError", scope: !185, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !190)
219 !191 = !DIEnumerator(name: "Timeout", value: 0)
220 !192 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Failure", scope: !193, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !187)
221 !193 = !DINamespace(name: "sync", scope: !185)
222 !194 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "_Unwind_Reason_Code", scope: !195, file: !4, baseType: !198, size: 32, align: 32, flags: DIFlagEnumClass, elements: !199)
223 !195 = !DINamespace(name: "uw", scope: !196)
224 !196 = !DINamespace(name: "libunwind", scope: !197)
225 !197 = !DINamespace(name: "backtrace", scope: !92)
226 !198 = !DIBasicType(name: "u32", size: 32, encoding: DW_ATE_unsigned)
227 !199 = !{!200, !201, !202, !203, !204, !205, !206, !207, !208, !209}
228 !200 = !DIEnumerator(name: "_URC_NO_REASON", value: 0)
229 !201 = !DIEnumerator(name: "_URC_FOREIGN_EXCEPTION_CAUGHT", value: 1)
230 !202 = !DIEnumerator(name: "_URC_FATAL_PHASE2_ERROR", value: 2)
231 !203 = !DIEnumerator(name: "_URC_FATAL_PHASE1_ERROR", value: 3)
232 !204 = !DIEnumerator(name: "_URC_NORMAL_STOP", value: 4)
233 !205 = !DIEnumerator(name: "_URC_END_OF_STACK", value: 5)
234 !206 = !DIEnumerator(name: "_URC_HANDLER_FOUND", value: 6)
235 !207 = !DIEnumerator(name: "_URC_INSTALL_CONTEXT", value: 7)
236 !208 = !DIEnumerator(name: "_URC_CONTINUE_UNWIND", value: 8)
237 !209 = !DIEnumerator(name: "_URC_FAILURE", value: 9)
238 !210 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Feature", scope: !211, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagEnumClass, elements: !214)
239 !211 = !DINamespace(name: "arch", scope: !212)
240 !212 = !DINamespace(name: "detect", scope: !213)
241 !213 = !DINamespace(name: "std_detect", scope: !48)
242 !214 = !{!215, !216, !217, !218, !219, !220, !221, !222, !223, !224, !225, !226, !227}
243 !215 = !DIEnumerator(name: "asimd", value: 0, isUnsigned: true)
244 !216 = !DIEnumerator(name: "pmull", value: 1, isUnsigned: true)
245 !217 = !DIEnumerator(name: "fp", value: 2, isUnsigned: true)
246 !218 = !DIEnumerator(name: "fp16", value: 3, isUnsigned: true)
247 !219 = !DIEnumerator(name: "sve", value: 4, isUnsigned: true)
248 !220 = !DIEnumerator(name: "crc", value: 5, isUnsigned: true)
249 !221 = !DIEnumerator(name: "crypto", value: 6, isUnsigned: true)
250 !222 = !DIEnumerator(name: "lse", value: 7, isUnsigned: true)
251 !223 = !DIEnumerator(name: "rdm", value: 8, isUnsigned: true)
252 !224 = !DIEnumerator(name: "rcpc", value: 9, isUnsigned: true)
253 !225 = !DIEnumerator(name: "dotprod", value: 10, isUnsigned: true)
254 !226 = !DIEnumerator(name: "tme", value: 11, isUnsigned: true)
255 !227 = !DIEnumerator(name: "_last", value: 12, isUnsigned: true)
257 !229 = !{i32 2, !"Debug Info Version", i32 3}
258 !230 = distinct !DISubprogram(name: "lstat", linkageName: "_ZN3std3sys4unix2fs5lstat17h30bd1f0595542181E", scope: !232, file: !231, line: 1107, type: !235, scopeLine: 1107, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, templateParams: !228, retainedNodes: !345)
259 !231 = !DIFile(filename: "library/std/src/sys/unix/fs.rs", directory: "/b/s/w/ir/x/w/rust", checksumkind: CSK_MD5, checksum: "ae77e80deccbf04afd9757023ae02c00")
260 !232 = !DINamespace(name: "fs", scope: !233)
261 !233 = !DINamespace(name: "unix", scope: !234)
262 !234 = !DINamespace(name: "sys", scope: !48)
263 !235 = !DISubroutineType(types: !236)
265 !237 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Result<std::sys::unix::fs::FileAttr, std::io::error::Error>", scope: !32, file: !4, size: 1216, align: 64, elements: !238, identifier: "ee0ca4d5dd60641d2ca6c0def6389cfe")
267 !239 = distinct !DICompositeType(tag: DW_TAG_variant_part, scope: !32, file: !4, size: 1216, align: 64, elements: !240, templateParams: !278, identifier: "ee0ca4d5dd60641d2ca6c0def6389cfe_variant_part", discriminator: !327)
269 !241 = !DIDerivedType(tag: DW_TAG_member, name: "Ok", scope: !239, file: !4, baseType: !242, size: 1216, align: 64, extraData: i64 0)
270 !242 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Ok", scope: !237, file: !4, size: 1216, align: 64, elements: !243, templateParams: !278, identifier: "ee0ca4d5dd60641d2ca6c0def6389cfe::Ok")
272 !244 = !DIDerivedType(tag: DW_TAG_member, name: "__0", scope: !242, file: !4, baseType: !245, size: 1152, align: 64, offset: 64)
273 !245 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "FileAttr", scope: !232, file: !4, size: 1152, align: 64, elements: !246, templateParams: !228, identifier: "4de2d386e283cbd28de291794ffb960c")
275 !247 = !DIDerivedType(tag: DW_TAG_member, name: "stat", scope: !245, file: !4, baseType: !248, size: 1152, align: 64)
276 !248 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "stat", scope: !249, file: !4, size: 1152, align: 64, elements: !252, templateParams: !228, identifier: "82d95959e3a6a4287e1e3529b4c9fa99")
277 !249 = !DINamespace(name: "aarch64", scope: !250)
278 !250 = !DINamespace(name: "fuchsia", scope: !251)
279 !251 = !DINamespace(name: "libc", scope: null)
280 !252 = !{!253, !255, !256, !257, !258, !259, !260, !261, !262, !264, !265, !267, !268, !269, !270, !271, !272, !273, !274}
281 !253 = !DIDerivedType(tag: DW_TAG_member, name: "st_dev", scope: !248, file: !4, baseType: !254, size: 64, align: 64)
282 !254 = !DIBasicType(name: "u64", size: 64, encoding: DW_ATE_unsigned)
283 !255 = !DIDerivedType(tag: DW_TAG_member, name: "st_ino", scope: !248, file: !4, baseType: !254, size: 64, align: 64, offset: 64)
284 !256 = !DIDerivedType(tag: DW_TAG_member, name: "st_mode", scope: !248, file: !4, baseType: !198, size: 32, align: 32, offset: 128)
285 !257 = !DIDerivedType(tag: DW_TAG_member, name: "st_nlink", scope: !248, file: !4, baseType: !254, size: 64, align: 64, offset: 192)
286 !258 = !DIDerivedType(tag: DW_TAG_member, name: "st_uid", scope: !248, file: !4, baseType: !198, size: 32, align: 32, offset: 256)
287 !259 = !DIDerivedType(tag: DW_TAG_member, name: "st_gid", scope: !248, file: !4, baseType: !198, size: 32, align: 32, offset: 288)
288 !260 = !DIDerivedType(tag: DW_TAG_member, name: "st_rdev", scope: !248, file: !4, baseType: !254, size: 64, align: 64, offset: 320)
289 !261 = !DIDerivedType(tag: DW_TAG_member, name: "__pad0", scope: !248, file: !4, baseType: !254, size: 64, align: 64, offset: 384)
290 !262 = !DIDerivedType(tag: DW_TAG_member, name: "st_size", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 448)
291 !263 = !DIBasicType(name: "i64", size: 64, encoding: DW_ATE_signed)
292 !264 = !DIDerivedType(tag: DW_TAG_member, name: "st_blksize", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 512)
293 !265 = !DIDerivedType(tag: DW_TAG_member, name: "__pad1", scope: !248, file: !4, baseType: !266, size: 32, align: 32, offset: 576)
294 !266 = !DIBasicType(name: "i32", size: 32, encoding: DW_ATE_signed)
295 !267 = !DIDerivedType(tag: DW_TAG_member, name: "st_blocks", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 640)
296 !268 = !DIDerivedType(tag: DW_TAG_member, name: "st_atime", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 704)
297 !269 = !DIDerivedType(tag: DW_TAG_member, name: "st_atime_nsec", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 768)
298 !270 = !DIDerivedType(tag: DW_TAG_member, name: "st_mtime", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 832)
299 !271 = !DIDerivedType(tag: DW_TAG_member, name: "st_mtime_nsec", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 896)
300 !272 = !DIDerivedType(tag: DW_TAG_member, name: "st_ctime", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 960)
301 !273 = !DIDerivedType(tag: DW_TAG_member, name: "st_ctime_nsec", scope: !248, file: !4, baseType: !263, size: 64, align: 64, offset: 1024)
302 !274 = !DIDerivedType(tag: DW_TAG_member, name: "__unused", scope: !248, file: !4, baseType: !275, size: 64, align: 32, offset: 1088)
303 !275 = !DICompositeType(tag: DW_TAG_array_type, baseType: !198, size: 64, align: 32, elements: !276)
305 !277 = !DISubrange(count: 2, lowerBound: 0)
307 !279 = !DITemplateTypeParameter(name: "T", type: !245)
308 !280 = !DITemplateTypeParameter(name: "E", type: !281)
309 !281 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Error", scope: !46, file: !4, size: 128, align: 64, elements: !282, templateParams: !228, identifier: "efd560081db7c51c7f6a2954ed44e089")
311 !283 = !DIDerivedType(tag: DW_TAG_member, name: "repr", scope: !281, file: !4, baseType: !284, size: 128, align: 64)
312 !284 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Repr", scope: !46, file: !4, size: 128, align: 64, elements: !285, identifier: "df1a28723e4e04a13efa60934df6c3a6")
314 !286 = distinct !DICompositeType(tag: DW_TAG_variant_part, scope: !46, file: !4, size: 128, align: 64, elements: !287, templateParams: !228, identifier: "df1a28723e4e04a13efa60934df6c3a6_variant_part", discriminator: !322)
315 !287 = !{!288, !292, !296}
316 !288 = !DIDerivedType(tag: DW_TAG_member, name: "Os", scope: !286, file: !4, baseType: !289, size: 128, align: 64, extraData: i64 0)
317 !289 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Os", scope: !284, file: !4, size: 128, align: 64, elements: !290, templateParams: !228, identifier: "df1a28723e4e04a13efa60934df6c3a6::Os")
319 !291 = !DIDerivedType(tag: DW_TAG_member, name: "__0", scope: !289, file: !4, baseType: !266, size: 32, align: 32, offset: 32)
320 !292 = !DIDerivedType(tag: DW_TAG_member, name: "Simple", scope: !286, file: !4, baseType: !293, size: 128, align: 64, extraData: i64 1)
321 !293 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Simple", scope: !284, file: !4, size: 128, align: 64, elements: !294, templateParams: !228, identifier: "df1a28723e4e04a13efa60934df6c3a6::Simple")
323 !295 = !DIDerivedType(tag: DW_TAG_member, name: "__0", scope: !293, file: !4, baseType: !45, size: 8, align: 8, offset: 8)
324 !296 = !DIDerivedType(tag: DW_TAG_member, name: "Custom", scope: !286, file: !4, baseType: !297, size: 128, align: 64, extraData: i64 2)
325 !297 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Custom", scope: !284, file: !4, size: 128, align: 64, elements: !298, templateParams: !228, identifier: "df1a28723e4e04a13efa60934df6c3a6::Custom")
327 !299 = !DIDerivedType(tag: DW_TAG_member, name: "__0", scope: !297, file: !4, baseType: !300, size: 64, align: 64, offset: 64)
328 !300 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "Box<std::io::error::Custom>", baseType: !301, size: 64, align: 64, dwarfAddressSpace: 0)
329 !301 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Custom", scope: !46, file: !4, size: 192, align: 64, elements: !302, templateParams: !228, identifier: "91f6b80e351df08f3582a1dba78d37a4")
331 !303 = !DIDerivedType(tag: DW_TAG_member, name: "kind", scope: !301, file: !4, baseType: !45, size: 8, align: 8, offset: 128)
332 !304 = !DIDerivedType(tag: DW_TAG_member, name: "error", scope: !301, file: !4, baseType: !305, size: 128, align: 64)
333 !305 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Box<Error>", scope: !306, file: !4, size: 128, align: 64, elements: !307, templateParams: !316, identifier: "3cf62a354bd4fcd733d53a37dcca1555")
334 !306 = !DINamespace(name: "error", scope: !48)
336 !308 = !DIDerivedType(tag: DW_TAG_member, name: "pointer", scope: !305, file: !4, baseType: !309, size: 64, align: 64, flags: DIFlagArtificial)
337 !309 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*mut u8", baseType: !7, size: 64, align: 64, dwarfAddressSpace: 0)
338 !310 = !DIDerivedType(tag: DW_TAG_member, name: "vtable", scope: !305, file: !4, baseType: !311, size: 64, align: 64, offset: 64, flags: DIFlagArtificial)
339 !311 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "&[usize; 3]", baseType: !312, size: 64, align: 64, dwarfAddressSpace: 0)
340 !312 = !DICompositeType(tag: DW_TAG_array_type, baseType: !313, size: 192, align: 64, elements: !314)
341 !313 = !DIBasicType(name: "usize", size: 64, encoding: DW_ATE_unsigned)
343 !315 = !DISubrange(count: 3, lowerBound: 0)
345 !317 = !DITemplateTypeParameter(name: "T", type: !318)
346 !318 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Error", scope: !306, file: !4, align: 8, elements: !319, templateParams: !228, identifier: "9aa013add12fd0abf318c4ce65feabb9")
348 !320 = !DIDerivedType(tag: DW_TAG_member, name: "pointer", scope: !318, file: !4, baseType: !309, size: 64, align: 64, flags: DIFlagArtificial)
349 !321 = !DIDerivedType(tag: DW_TAG_member, name: "vtable", scope: !318, file: !4, baseType: !311, size: 64, align: 64, offset: 64, flags: DIFlagArtificial)
350 !322 = !DIDerivedType(tag: DW_TAG_member, scope: !46, file: !4, baseType: !7, size: 8, align: 8, flags: DIFlagArtificial)
351 !323 = !DIDerivedType(tag: DW_TAG_member, name: "Err", scope: !239, file: !4, baseType: !324, size: 1216, align: 64, extraData: i64 1)
352 !324 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Err", scope: !237, file: !4, size: 1216, align: 64, elements: !325, templateParams: !278, identifier: "ee0ca4d5dd60641d2ca6c0def6389cfe::Err")
354 !326 = !DIDerivedType(tag: DW_TAG_member, name: "__0", scope: !324, file: !4, baseType: !281, size: 128, align: 64, offset: 64)
355 !327 = !DIDerivedType(tag: DW_TAG_member, scope: !32, file: !4, baseType: !254, size: 64, align: 64, flags: DIFlagArtificial)
356 !328 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "&std::path::Path", baseType: !329, size: 128, align: 64, dwarfAddressSpace: 0)
357 !329 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Path", scope: !84, file: !4, align: 8, elements: !330, templateParams: !228, identifier: "59d4ec63209a24516bd1bdae88116f75")
359 !331 = !DIDerivedType(tag: DW_TAG_member, name: "inner", scope: !329, file: !4, baseType: !332, align: 8)
360 !332 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "OsStr", scope: !333, file: !4, align: 8, elements: !335, templateParams: !228, identifier: "12ab83c4579a80c51b2aa297e78da371")
361 !333 = !DINamespace(name: "os_str", scope: !334)
362 !334 = !DINamespace(name: "ffi", scope: !48)
364 !336 = !DIDerivedType(tag: DW_TAG_member, name: "inner", scope: !332, file: !4, baseType: !337, align: 8)
365 !337 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Slice", scope: !338, file: !4, align: 8, elements: !340, templateParams: !228, identifier: "5d97cefa8950795c2bd36fa94d0059f")
366 !338 = !DINamespace(name: "os_str_bytes", scope: !339)
367 !339 = !DINamespace(name: "sys_common", scope: !48)
369 !341 = !DIDerivedType(tag: DW_TAG_member, name: "inner", scope: !337, file: !4, baseType: !342, align: 8)
370 !342 = !DICompositeType(tag: DW_TAG_array_type, baseType: !7, align: 8, elements: !343)
372 !344 = !DISubrange(count: -1, lowerBound: 0)
373 !345 = !{!346, !347, !360, !362, !364, !366, !368}
374 !346 = !DILocalVariable(name: "p", arg: 1, scope: !230, file: !231, line: 1107, type: !328)
375 !347 = !DILocalVariable(name: "p", scope: !348, file: !231, line: 1108, type: !349, align: 8)
376 !348 = distinct !DILexicalBlock(scope: !230, file: !231, line: 1108, column: 5)
377 !349 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "CString", scope: !350, file: !4, size: 128, align: 64, elements: !351, templateParams: !228, identifier: "217f90bcda5db70412428eb4d0eb8771")
378 !350 = !DINamespace(name: "c_str", scope: !334)
380 !352 = !DIDerivedType(tag: DW_TAG_member, name: "inner", scope: !349, file: !4, baseType: !353, size: 128, align: 64)
381 !353 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "alloc::boxed::Box<[u8]>", file: !4, size: 128, align: 64, elements: !354, templateParams: !358, identifier: "402fa17fda502b3dfe8af04b4513434e")
383 !355 = !DIDerivedType(tag: DW_TAG_member, name: "data_ptr", scope: !353, file: !4, baseType: !356, size: 64, align: 64)
384 !356 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "*const u8", baseType: !7, size: 64, align: 64, dwarfAddressSpace: 0)
385 !357 = !DIDerivedType(tag: DW_TAG_member, name: "length", scope: !353, file: !4, baseType: !313, size: 64, align: 64, offset: 64)
387 !359 = !DITemplateTypeParameter(name: "T", type: !342)
388 !360 = !DILocalVariable(name: "err", scope: !361, file: !231, line: 1108, type: !281, align: 8)
389 !361 = distinct !DILexicalBlock(scope: !230, file: !231, line: 1108, column: 20)
390 !362 = !DILocalVariable(name: "val", scope: !363, file: !231, line: 1108, type: !349, align: 8)
391 !363 = distinct !DILexicalBlock(scope: !230, file: !231, line: 1108, column: 13)
392 !364 = !DILocalVariable(name: "stat", scope: !365, file: !231, line: 1121, type: !248, align: 8)
393 !365 = distinct !DILexicalBlock(scope: !348, file: !231, line: 1121, column: 5)
394 !366 = !DILocalVariable(name: "err", scope: !367, file: !231, line: 1122, type: !281, align: 8)
395 !367 = distinct !DILexicalBlock(scope: !365, file: !231, line: 1122, column: 51)
396 !368 = !DILocalVariable(name: "val", scope: !369, file: !231, line: 1122, type: !266, align: 4)
397 !369 = distinct !DILexicalBlock(scope: !365, file: !231, line: 1122, column: 5)
398 !370 = !DILocalVariable(name: "err", scope: !371, file: !231, line: 1108, type: !281, align: 8)
399 !371 = distinct !DILexicalBlock(scope: !230, file: !231, line: 1108, column: 20)
400 !372 = !DILocation(line: 0, scope: !371)