| ... | @@ -1169,13 +1169,14 @@ pub const Object = struct { | ... | @@ -1169,13 +1169,14 @@ pub const Object = struct { |
| 1169 | llvm.DIFlags.NoReturn | 1169 | llvm.DIFlags.NoReturn |
| 1170 | else | 1170 | else |
| 1171 | 0; | 1171 | 0; |
| | 1172 | const decl_di_ty = try o.lowerDebugType(decl.ty, .full); |
| 1172 | const subprogram = dib.createFunction( | 1173 | const subprogram = dib.createFunction( |
| 1173 | di_file.?.toScope(), | 1174 | di_file.?.toScope(), |
| 1174 | mod.intern_pool.stringToSlice(decl.name), | 1175 | mod.intern_pool.stringToSlice(decl.name), |
| 1175 | llvm_func.getValueName(), | 1176 | llvm_func.getValueName(), |
| 1176 | di_file.?, | 1177 | di_file.?, |
| 1177 | line_number, | 1178 | line_number, |
| 1178 | try o.lowerDebugType(decl.ty, .full), | 1179 | decl_di_ty, |
| 1179 | is_internal_linkage, | 1180 | is_internal_linkage, |
| 1180 | true, // is definition | 1181 | true, // is definition |
| 1181 | line_number + func.lbrace_line, // scope line | 1182 | line_number + func.lbrace_line, // scope line |