| ... | @@ -1172,7 +1172,7 @@ pub fn commitDeclState( | ... | @@ -1172,7 +1172,7 @@ pub fn commitDeclState( |
| 1172 | if (needed_size > d_sym.allocatedSize(debug_line_sect.offset)) { | 1172 | if (needed_size > d_sym.allocatedSize(debug_line_sect.offset)) { |
| 1173 | const new_offset = d_sym.findFreeSpace(needed_size, 1); | 1173 | const new_offset = d_sym.findFreeSpace(needed_size, 1); |
| 1174 | const existing_size = last_src_fn.off; | 1174 | const existing_size = last_src_fn.off; |
| 1175 | log.debug("moving __debug_line section: {} bytes from 0x{x} to 0x{x}", .{ | 1175 | std.log.scoped(.dsym).debug("moving __debug_line section: {} bytes from 0x{x} to 0x{x}", .{ |
| 1176 | existing_size, | 1176 | existing_size, |
| 1177 | debug_line_sect.offset, | 1177 | debug_line_sect.offset, |
| 1178 | new_offset, | 1178 | new_offset, |
| ... | @@ -1468,7 +1468,7 @@ fn writeDeclDebugInfo(self: *Dwarf, file: *File, atom: *Atom, dbg_info_buf: []co | ... | @@ -1468,7 +1468,7 @@ fn writeDeclDebugInfo(self: *Dwarf, file: *File, atom: *Atom, dbg_info_buf: []co |
| 1468 | if (needed_size > d_sym.allocatedSize(debug_info_sect.offset)) { | 1468 | if (needed_size > d_sym.allocatedSize(debug_info_sect.offset)) { |
| 1469 | const new_offset = d_sym.findFreeSpace(needed_size, 1); | 1469 | const new_offset = d_sym.findFreeSpace(needed_size, 1); |
| 1470 | const existing_size = last_decl.off; | 1470 | const existing_size = last_decl.off; |
| 1471 | log.debug("moving __debug_info section: {} bytes from 0x{x} to 0x{x}", .{ | 1471 | std.log.scoped(.dsym).debug("moving __debug_info section: {} bytes from 0x{x} to 0x{x}", .{ |
| 1472 | existing_size, | 1472 | existing_size, |
| 1473 | debug_info_sect.offset, | 1473 | debug_info_sect.offset, |
| 1474 | new_offset, | 1474 | new_offset, |