| ... | ... | @@ -6625,6 +6625,13 @@ pub const FuncGen = struct { |
| 6625 | 6625 | ); |
| 6626 | 6626 | self.scope = lexical_block; |
| 6627 | 6627 | self.base_line = decl.src_line; |
| 6628 | const inlined_at = self.wip.current_debug_location; |
| 6629 | self.wip.current_debug_location = try o.builder.debugLocation( |
| 6630 | line_number, |
| 6631 | 0, |
| 6632 | self.scope, |
| 6633 | inlined_at, |
| 6634 | ); |
| 6628 | 6635 | return .none; |
| 6629 | 6636 | } |
| 6630 | 6637 | |
| ... | ... | @@ -6641,6 +6648,7 @@ pub const FuncGen = struct { |
| 6641 | 6648 | const old = self.inlined.pop(); |
| 6642 | 6649 | self.scope = old.scope; |
| 6643 | 6650 | self.base_line = old.base_line; |
| 6651 | self.wip.current_debug_location = old.location; |
| 6644 | 6652 | return .none; |
| 6645 | 6653 | } |
| 6646 | 6654 | |