| ... | @@ -6637,7 +6637,7 @@ pub const FuncGen = struct { | ... | @@ -6637,7 +6637,7 @@ pub const FuncGen = struct { |
| 6637 | .return_type = .void_type, | 6637 | .return_type = .void_type, |
| 6638 | }); | 6638 | }); |
| 6639 | | 6639 | |
| 6640 | const subprogram = try o.builder.debugSubprogram( | 6640 | self.scope = try o.builder.debugSubprogram( |
| 6641 | self.file, | 6641 | self.file, |
| 6642 | try o.builder.metadataString(zcu.intern_pool.stringToSlice(decl.name)), | 6642 | try o.builder.metadataString(zcu.intern_pool.stringToSlice(decl.name)), |
| 6643 | try o.builder.metadataString(zcu.intern_pool.stringToSlice(fqn)), | 6643 | try o.builder.metadataString(zcu.intern_pool.stringToSlice(fqn)), |
| ... | @@ -6655,13 +6655,6 @@ pub const FuncGen = struct { | ... | @@ -6655,13 +6655,6 @@ pub const FuncGen = struct { |
| 6655 | o.debug_compile_unit, | 6655 | o.debug_compile_unit, |
| 6656 | ); | 6656 | ); |
| 6657 | | 6657 | |
| 6658 | const lexical_block = try o.builder.debugLexicalBlock( | | |
| 6659 | subprogram, | | |
| 6660 | self.file, | | |
| 6661 | line_number, | | |
| 6662 | 1, | | |
| 6663 | ); | | |
| 6664 | self.scope = lexical_block; | | |
| 6665 | self.base_line = decl.src_line; | 6658 | self.base_line = decl.src_line; |
| 6666 | const inlined_at_location = try self.wip.debug_location.toMetadata(&o.builder); | 6659 | const inlined_at_location = try self.wip.debug_location.toMetadata(&o.builder); |
| 6667 | self.wip.debug_location = .{ | 6660 | self.wip.debug_location = .{ |