| author | |
| committer | |
| log | 9a6fad2706d05743a512c9ab5b54ba91cf5956fa |
| tree | 4836677a7ea1249dcde096583951383bb7e57f6e |
| parent | aa74eb505a9a831e4b40adabbb653fe33be284b1 |
| signature |
32-63 conflict with the floating point registers.2 files changed, 2 insertions(+), 2 deletions(-)
lib/std/debug/Dwarf.zig+1-1| ... | ... | @@ -1432,7 +1432,7 @@ pub fn ipRegNum(arch: std.Target.Cpu.Arch) ?u16 { |
| 1432 | 1432 | .aarch64, .aarch64_be => 32, |
| 1433 | 1433 | .arm, .armeb, .thumb, .thumbeb => 15, |
| 1434 | 1434 | .hexagon => 76, |
| 1435 | .loongarch32, .loongarch64 => 32, | |
| 1435 | .loongarch32, .loongarch64 => 64, | |
| 1436 | 1436 | .mips, .mipsel, .mips64, .mips64el => 37, |
| 1437 | 1437 | .powerpc, .powerpcle, .powerpc64, .powerpc64le => 357, |
| 1438 | 1438 | .riscv32, .riscv32be, .riscv64, .riscv64be => 32, |
lib/std/debug/cpu_context.zig+1-1| ... | ... | @@ -700,7 +700,7 @@ pub const LoongArch = extern struct { |
| 700 | 700 | pub fn dwarfRegisterBytes(ctx: *LoongArch, register_num: u16) DwarfRegisterError![]u8 { |
| 701 | 701 | switch (register_num) { |
| 702 | 702 | 0...31 => return @ptrCast(&ctx.r[register_num]), |
| 703 | 32 => return @ptrCast(&ctx.pc), | |
| 703 | 64 => return @ptrCast(&ctx.pc), | |
| 704 | 704 | |
| 705 | 705 | else => return error.InvalidRegister, |
| 706 | 706 | } |