| ... | @@ -1718,9 +1718,9 @@ fn getLineNumberInfoMacOs(di: *DebugInfo, symbol: MachoSymbol, target_address: u | ... | @@ -1718,9 +1718,9 @@ fn getLineNumberInfoMacOs(di: *DebugInfo, symbol: MachoSymbol, target_address: u |
| 1718 | while (true) { | 1718 | while (true) { |
| 1719 | const file_name = readStringMem(&ptr); | 1719 | const file_name = readStringMem(&ptr); |
| 1720 | if (file_name.len == 0) break; | 1720 | if (file_name.len == 0) break; |
| 1721 | const dir_index = try leb.readULEB128Mem(u64, &ptr); | 1721 | const dir_index = try leb.readULEB128Mem(usize, &ptr); |
| 1722 | const mtime = try leb.readULEB128Mem(u64, &ptr); | 1722 | const mtime = try leb.readULEB128Mem(usize, &ptr); |
| 1723 | const len_bytes = try leb.readULEB128Mem(u64, &ptr); | 1723 | const len_bytes = try leb.readULEB128Mem(usize, &ptr); |
| 1724 | try file_entries.append(FileEntry{ | 1724 | try file_entries.append(FileEntry{ |
| 1725 | .file_name = file_name, | 1725 | .file_name = file_name, |
| 1726 | .dir_index = dir_index, | 1726 | .dir_index = dir_index, |
| ... | @@ -1749,9 +1749,9 @@ fn getLineNumberInfoMacOs(di: *DebugInfo, symbol: MachoSymbol, target_address: u | ... | @@ -1749,9 +1749,9 @@ fn getLineNumberInfoMacOs(di: *DebugInfo, symbol: MachoSymbol, target_address: u |
| 1749 | }, | 1749 | }, |
| 1750 | DW.LNE_define_file => { | 1750 | DW.LNE_define_file => { |
| 1751 | const file_name = readStringMem(&ptr); | 1751 | const file_name = readStringMem(&ptr); |
| 1752 | const dir_index = try leb.readULEB128Mem(u64, &ptr); | 1752 | const dir_index = try leb.readULEB128Mem(usize, &ptr); |
| 1753 | const mtime = try leb.readULEB128Mem(u64, &ptr); | 1753 | const mtime = try leb.readULEB128Mem(usize, &ptr); |
| 1754 | const len_bytes = try leb.readULEB128Mem(u64, &ptr); | 1754 | const len_bytes = try leb.readULEB128Mem(usize, &ptr); |
| 1755 | try file_entries.append(FileEntry{ | 1755 | try file_entries.append(FileEntry{ |
| 1756 | .file_name = file_name, | 1756 | .file_name = file_name, |
| 1757 | .dir_index = dir_index, | 1757 | .dir_index = dir_index, |
| ... | @@ -1882,9 +1882,9 @@ fn getLineNumberInfoDwarf(di: *DwarfInfo, compile_unit: CompileUnit, target_addr | ... | @@ -1882,9 +1882,9 @@ fn getLineNumberInfoDwarf(di: *DwarfInfo, compile_unit: CompileUnit, target_addr |
| 1882 | while (true) { | 1882 | while (true) { |
| 1883 | const file_name = try di.readString(); | 1883 | const file_name = try di.readString(); |
| 1884 | if (file_name.len == 0) break; | 1884 | if (file_name.len == 0) break; |
| 1885 | const dir_index = try leb.readULEB128(u64, di.dwarf_in_stream); | 1885 | const dir_index = try leb.readULEB128(usize, di.dwarf_in_stream); |
| 1886 | const mtime = try leb.readULEB128(u64, di.dwarf_in_stream); | 1886 | const mtime = try leb.readULEB128(usize, di.dwarf_in_stream); |
| 1887 | const len_bytes = try leb.readULEB128(u64, di.dwarf_in_stream); | 1887 | const len_bytes = try leb.readULEB128(usize, di.dwarf_in_stream); |
| 1888 | try file_entries.append(FileEntry{ | 1888 | try file_entries.append(FileEntry{ |
| 1889 | .file_name = file_name, | 1889 | .file_name = file_name, |
| 1890 | .dir_index = dir_index, | 1890 | .dir_index = dir_index, |
| ... | @@ -1914,9 +1914,9 @@ fn getLineNumberInfoDwarf(di: *DwarfInfo, compile_unit: CompileUnit, target_addr | ... | @@ -1914,9 +1914,9 @@ fn getLineNumberInfoDwarf(di: *DwarfInfo, compile_unit: CompileUnit, target_addr |
| 1914 | }, | 1914 | }, |
| 1915 | DW.LNE_define_file => { | 1915 | DW.LNE_define_file => { |
| 1916 | const file_name = try di.readString(); | 1916 | const file_name = try di.readString(); |
| 1917 | const dir_index = try leb.readULEB128(u64, di.dwarf_in_stream); | 1917 | const dir_index = try leb.readULEB128(usize, di.dwarf_in_stream); |
| 1918 | const mtime = try leb.readULEB128(u64, di.dwarf_in_stream); | 1918 | const mtime = try leb.readULEB128(usize, di.dwarf_in_stream); |
| 1919 | const len_bytes = try leb.readULEB128(u64, di.dwarf_in_stream); | 1919 | const len_bytes = try leb.readULEB128(usize, di.dwarf_in_stream); |
| 1920 | try file_entries.append(FileEntry{ | 1920 | try file_entries.append(FileEntry{ |
| 1921 | .file_name = file_name, | 1921 | .file_name = file_name, |
| 1922 | .dir_index = dir_index, | 1922 | .dir_index = dir_index, |