| ... | ... | @@ -144,7 +144,7 @@ const FileEntry = struct { |
| 144 | 144 | }; |
| 145 | 145 | |
| 146 | 146 | const LineNumberProgram = struct { |
| 147 | | address: usize, |
| 147 | address: u64, |
| 148 | 148 | file: usize, |
| 149 | 149 | line: i64, |
| 150 | 150 | column: u64, |
| ... | ... | @@ -153,12 +153,12 @@ const LineNumberProgram = struct { |
| 153 | 153 | end_sequence: bool, |
| 154 | 154 | |
| 155 | 155 | default_is_stmt: bool, |
| 156 | | target_address: usize, |
| 156 | target_address: u64, |
| 157 | 157 | include_dirs: []const []const u8, |
| 158 | 158 | file_entries: *ArrayList(FileEntry), |
| 159 | 159 | |
| 160 | 160 | prev_valid: bool, |
| 161 | | prev_address: usize, |
| 161 | prev_address: u64, |
| 162 | 162 | prev_file: usize, |
| 163 | 163 | prev_line: i64, |
| 164 | 164 | prev_column: u64, |
| ... | ... | @@ -186,7 +186,7 @@ const LineNumberProgram = struct { |
| 186 | 186 | self.prev_end_sequence = undefined; |
| 187 | 187 | } |
| 188 | 188 | |
| 189 | | pub fn init(is_stmt: bool, include_dirs: []const []const u8, file_entries: *ArrayList(FileEntry), target_address: usize) LineNumberProgram { |
| 189 | pub fn init(is_stmt: bool, include_dirs: []const []const u8, file_entries: *ArrayList(FileEntry), target_address: u64) LineNumberProgram { |
| 190 | 190 | return LineNumberProgram{ |
| 191 | 191 | .address = 0, |
| 192 | 192 | .file = 1, |
| ... | ... | @@ -691,7 +691,7 @@ pub const DwarfInfo = struct { |
| 691 | 691 | return result; |
| 692 | 692 | } |
| 693 | 693 | |
| 694 | | pub fn getLineNumberInfo(di: *DwarfInfo, compile_unit: CompileUnit, target_address: usize) !debug.LineInfo { |
| 694 | pub fn getLineNumberInfo(di: *DwarfInfo, compile_unit: CompileUnit, target_address: u64) !debug.LineInfo { |
| 695 | 695 | var stream = io.fixedBufferStream(di.debug_line); |
| 696 | 696 | const in = &stream.reader(); |
| 697 | 697 | const seekable = &stream.seekableStream(); |