rdi_from_dwarf: fix incorrect argument slot used in breg<N> conversion

This commit is contained in:
Ryan Fleury committed 2026-09-28 08:38:30 -06:00
1 parent d66094161d
commit e7a9c430f8
2 files changed
+6 -3

No files matched your search

+5 -2
View File
@@ -4,17 +4,20 @@
//////////////////////////////// ////////////////////////////////
//~ rjf: linux TODO notes //~ rjf: linux TODO notes
// //
// initial alpha:
// [ ] control // [ ] control
// [ ] multithreaded stepping - trap hits reported on other threads. // [ ] multithreaded stepping - trap hits reported on other threads.
// [ ] stale memory - things evaluating to stale values that are definitely not zero // [ ] stale memory - things evaluating to stale values that are definitely not zero
// [ ] support // [ ] support
// [ ] .eh_frame unwinding without .eh_frame_hdr // [ ] .eh_frame unwinding without .eh_frame_hdr
// [ ] asan // [ ] asan
// [ ] windowing
// [ ] wayland
// [ ] rendering // [ ] rendering
// [ ] bitmaps / geometry // [ ] bitmaps / geometry
// //
// post initial alpha:
// [ ] windowing
// [ ] wayland
//
// [x] clipboard // [x] clipboard
// [x] jai exes - busted call stacks / unwind info / paths? // [x] jai exes - busted call stacks / unwind info / paths?
// [x] statically linked EXEs - busted unwinding // [x] statically linked EXEs - busted unwinding
+1 -1
View File
@@ -3526,7 +3526,7 @@ d2r_convert(Arena *arena, D2R_ConvertParams *params)
case DW_ExprOp_BReg30: case DW_ExprOp_BReg31: case DW_ExprOp_BReg30: case DW_ExprOp_BReg31:
{ {
regcode_dw = (U64)(opcode - DW_ExprOp_BReg0); regcode_dw = (U64)(opcode - DW_ExprOp_BReg0);
regval_off = operand_s64s[1]; regval_off = operand_s64s[0];
regread_is_addr = 1; regread_is_addr = 1;
}goto reg_read; }goto reg_read;
case DW_ExprOp_BRegX: case DW_ExprOp_BRegX: