mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
llvmpipe: Stop disassembling when an unsupported opcode is found.
Otherwise the terminal gets full of garbage.
This commit is contained in:
parent
c0a13bbae1
commit
dd51b4f909
1 changed files with 2 additions and 1 deletions
|
|
@ -115,7 +115,8 @@ lp_disassemble(const void* func)
|
|||
}
|
||||
}
|
||||
|
||||
if (ud_insn_off(&ud_obj) >= max_jmp_pc && ud_obj.mnemonic == UD_Iret)
|
||||
if ((ud_insn_off(&ud_obj) >= max_jmp_pc && ud_obj.mnemonic == UD_Iret) ||
|
||||
ud_obj.mnemonic == UD_Iinvalid)
|
||||
break;
|
||||
}
|
||||
debug_printf("\n");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue